Changeset: a7a28d98235b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a7a28d98235b
Modified Files:
monetdb5/optimizer/opt_querylog.c
Branch: default
Log Message:
Use correct tuple result set count for querylog.
diffs (12 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
@@ -110,7 +110,7 @@ OPTquerylogImplementation(Client cntxt,
pushInstruction(mb,p);
continue;
}
- if ( getModuleId(p) == sqlRef &&
idcmp(getFunctionId(p),"resultSet")==0 ){
+ if ( getModuleId(p) == sqlRef &&
idcmp(getFunctionId(p),"resultSet")==0 &&
isaBatType(getVarType(mb,getArg(p,3)))){
q = newStmt(mb, "aggr", "count");
getArg(q,0) = tuples;
(void) pushArgument(mb,q, getArg(p,3));
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list