Changeset: 79db997733ab for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=79db997733ab
Modified Files:
        monetdb5/mal/mal_instruction.c
Branch: gdk_tracer
Log Message:

Leave error message behind.


diffs (15 lines):

diff --git a/monetdb5/mal/mal_instruction.c b/monetdb5/mal/mal_instruction.c
--- a/monetdb5/mal/mal_instruction.c
+++ b/monetdb5/mal/mal_instruction.c
@@ -767,8 +767,10 @@ newVariable(MalBlkPtr mb, const char *na
 {
        int n;
 
-       if( len >= IDLENGTH)
+       if( len >= IDLENGTH){
+               mb->errors = createMalException(mb,0,TYPE, "newVariable: id too 
long");
                return -1;
+       }
        if (makeVarSpace(mb)) 
                /* no space for a new variable */
                return -1;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to