Changeset: 8596b97c34c6 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8596b97c34c6
Modified Files:
        monetdb5/mal/mal_type.c
Branch: default
Log Message:

Temporary variables
Internally they are recognized by underscore only.
However, when we export them as text, the X is prepended
turning it into a valid variable.


diffs (12 lines):

diff --git a/monetdb5/mal/mal_type.c b/monetdb5/mal/mal_type.c
--- a/monetdb5/mal/mal_type.c
+++ b/monetdb5/mal/mal_type.c
@@ -243,7 +243,7 @@ newTmpName(char tag, int i)
 inline int
 isTmpName(str n)
 {
-       return n && (*n == TMPMARKER || (n[1] == TMPMARKER && n[0]=='X'));
+       return n && *n == TMPMARKER ;
 }
 
 int
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to