Changeset: c2fa0ce8cb17 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c2fa0ce8cb17
Modified Files:
monetdb5/optimizer/opt_querylog.c
Branch: default
Log Message:
Use addArgument in the situation where you have constructed
a MAL instruction not part of a MAL block
diffs (16 lines):
diff --git a/monetdb5/optimizer/opt_querylog.c
b/monetdb5/optimizer/opt_querylog.c
--- a/monetdb5/optimizer/opt_querylog.c
+++ b/monetdb5/optimizer/opt_querylog.c
@@ -63,10 +63,10 @@ OPTquerylogImplementation(Client cntxt,
/* collect the initial statistics */
q = newStmt(mb, "clients", "getUsername");
name= getArg(q,0)= newVariable(mb,"name",4,TYPE_str);
- defineQuery = pushArgument(mb,defineQuery,name);
+ defineQuery = addArgument(mb,defineQuery,name);
q = newStmt(mb, "mtime", "current_timestamp");
start= getArg(q,0)= newVariable(mb,"start",5,TYPE_timestamp);
- defineQuery = pushArgument(mb,defineQuery,start);
+ defineQuery = addArgument(mb,defineQuery,start);
pushInstruction(mb, defineQuery);
q = newStmt(mb, sqlRef, "argRecord");
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list