Changeset: a849a4fb84b6 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a849a4fb84b6
Modified Files:
monetdb5/optimizer/opt_wlcr.c
Branch: wlcr
Log Message:
Catalog operations need not be mentioned explicitly
They are already captured in the SQL query and
the transaction kind.
diffs (20 lines):
diff --git a/monetdb5/optimizer/opt_wlcr.c b/monetdb5/optimizer/opt_wlcr.c
--- a/monetdb5/optimizer/opt_wlcr.c
+++ b/monetdb5/optimizer/opt_wlcr.c
@@ -49,6 +49,8 @@ OPTwlcrImplementation(Client cntxt, MalB
q->argc--; // no need for the userid
pushInstruction(mb,q);
} else
+/* CATALOG functions need not yet be reported explicitly.
+ * They are already captured in the query define.
if( getModuleId(p) == sqlcatalogRef &&
(
getFunctionId(p) == create_seqRef ||
@@ -70,6 +72,7 @@ OPTwlcrImplementation(Client cntxt, MalB
getArg(q,0) = newTmpVariable(mb,TYPE_any);
pushInstruction(mb,q);
} else
+*/
if( getModuleId(p) == sqlRef &&
(getFunctionId(p) == clear_tableRef ||
getFunctionId(p) == sqlcatalogRef) ){
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list