Changeset: ae8f0c08360e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ae8f0c08360e
Modified Files:
monetdb5/mal/mal_instruction.mx
Branch: default
Log Message:
Allow complete empty instructions to be added
diffs (12 lines):
diff --git a/monetdb5/mal/mal_instruction.mx b/monetdb5/mal/mal_instruction.mx
--- a/monetdb5/mal/mal_instruction.mx
+++ b/monetdb5/mal/mal_instruction.mx
@@ -2031,7 +2031,7 @@ variable to hold the result instead.
if (p->argv[0] < 0)
p->argv[0] = newTmpVariable(mb, TYPE_any);
*/
- assert(p->argv[0]>=0);
+ assert(p->argc == 0 || p->argv[0]>=0);
if (mb->stmt[i]) {
/* if( getModuleId(mb->stmt[i] ) )
printf("Garbage collect statement %s.%s\n",
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list