Changeset: 4fd414abd988 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4fd414abd988
Modified Files:
monetdb5/mal/mal_interpreter.mx
Branch: Aug2011
Log Message:
Fix for bug 2909
Check if we are in debugging mode, before dumping
the trace information.
(transplanted from 97580c62c2b8654096a66350d9de564c49f20410)
diffs (12 lines):
diff --git a/monetdb5/mal/mal_interpreter.mx b/monetdb5/mal/mal_interpreter.mx
--- a/monetdb5/mal/mal_interpreter.mx
+++ b/monetdb5/mal/mal_interpreter.mx
@@ -2572,7 +2572,7 @@ void releaseBAT(MalBlkPtr mb, MalStkPtr
}
@= timingHndlr
-if (cntxt->flags && stk->cmd != 't' && stk->cmd != 'C') {
+if (cntxt->flags && stk->cmd && stk->cmd != 't' && stk->cmd != 'C') {
if (lock)
MT_lock_set(&*lock, "timing");
mnstr_printf(cntxt->fdout, "= "); /* single column rendering */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list