Changeset: 1ad2b2a3cc3e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1ad2b2a3cc3e
Modified Files:
monetdb5/optimizer/opt_postfix.c
Branch: default
Log Message:
This is how you disable code.
diffs (31 lines):
diff --git a/monetdb5/optimizer/opt_postfix.c b/monetdb5/optimizer/opt_postfix.c
--- a/monetdb5/optimizer/opt_postfix.c
+++ b/monetdb5/optimizer/opt_postfix.c
@@ -18,6 +18,7 @@
str
OPTpostfixImplementation(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p)
{
+#if 0 // Don't use this right
now
int i, j, slimit, limit, actions=0;
InstrPtr *old = 0;
InstrPtr q, *vars = 0;
@@ -28,7 +29,6 @@ OPTpostfixImplementation(Client cntxt, M
(void) stk;
(void) cntxt;
- return MAL_SUCCEED; // Don't use this right now
limit = mb->stop;
slimit = mb->ssize;
/* the first postfix concerns pushing projections into the count() we
check if it is needed*/
@@ -90,4 +90,11 @@ finished:
wrapup:
if(vars) GDKfree(vars);
return msg;
+#else
+ (void) cntxt;
+ (void) mb;
+ (void) stk;
+ (void) p;
+ return MAL_SUCCEED;
+#endif
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list