Changeset: 0901d759538f for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0901d759538f Modified Files: monetdb5/mal/mal_runtime.c Branch: Jul2012 Log Message:
Only print runtimeTiming information when in the (mdb) debugger. This fixes bugs 3117 and 3145. diffs (12 lines): diff --git a/monetdb5/mal/mal_runtime.c b/monetdb5/mal/mal_runtime.c --- a/monetdb5/mal/mal_runtime.c +++ b/monetdb5/mal/mal_runtime.c @@ -102,7 +102,7 @@ void runtimeTiming(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci, int tid , MT_Lock *lock, RuntimeProfile prof) { str line; - if( cntxt->flags && stk->cmd != 't' && stk->cmd != 'C'){ + if( cntxt->flags && stk->cmd != '\0' && stk->cmd != 't' && stk->cmd != 'C'){ if (lock) MT_lock_set(&*lock, "timing"); mnstr_printf(cntxt->fdout,"= "); /* single column rendering */ _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list