Changeset: 79ee78555b12 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/79ee78555b12 Modified Files: monetdb5/optimizer/opt_candidates.c Branch: default Log Message:
optimizer only changes output of mal plans diffs (27 lines): diff --git a/monetdb5/optimizer/opt_candidates.c b/monetdb5/optimizer/opt_candidates.c --- a/monetdb5/optimizer/opt_candidates.c +++ b/monetdb5/optimizer/opt_candidates.c @@ -19,12 +19,13 @@ #include "opt_candidates.h" str -OPTcandidatesImplementation(Client cntxt, MalBlkPtr mb, MalStkPtr stk, - InstrPtr pci) +OPTcandidatesImplementation(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci) { InstrPtr p; str msg = MAL_SUCCEED; + if (!(ATOMIC_GET(&GDKdebug) & FORCEMITOMASK)) + goto wrapup; (void) cntxt; (void) stk; /* to fool compilers */ for (int i = 0; i < mb->stop; i++) { @@ -88,6 +89,7 @@ OPTcandidatesImplementation(Client cntxt // if( ms== MAL_SUCCEED) // msg = chkDeclarations(mb); /* keep actions taken as a fake argument */ +wrapup: (void) pushInt(mb, pci, 1); return msg; } _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org