Changeset: a081ddd41816 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a081ddd41816
Modified Files:
MonetDB5/src/optimizer/opt_mergetable.mx
Branch: Oct2010
Log Message:
Better way of disabling code.
I fear that the 0 in the condition will cause some compilers to
complain about a constant expression in a conditional.
diffs (21 lines):
diff -r 3ff27b07471c -r a081ddd41816 MonetDB5/src/optimizer/opt_mergetable.mx
--- a/MonetDB5/src/optimizer/opt_mergetable.mx Mon Nov 08 21:05:39 2010 +0100
+++ b/MonetDB5/src/optimizer/opt_mergetable.mx Mon Nov 08 21:29:25 2010 +0100
@@ -2147,7 +2147,8 @@
actions++;
continue;
}
- if (0 && match == 1 && getModuleId(p) == algebraRef &&
getFunctionId(p) == semijoinRef &&
+#if 0
+ if (match == 1 && getModuleId(p) == algebraRef &&
getFunctionId(p) == semijoinRef &&
((m=isMATalias(getArg(p,2), mat, mtop)) >= 0) &&
varGetProp(mb, getArg(p,1), hlbProp)) {
InstrPtr bc;
@@ -2157,6 +2158,7 @@
actions++;
continue;
}
+#endif
@-
Now we handle group, derive and aggregation statements.
@c
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list