Changeset: 97580c62c2b8 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=97580c62c2b8
Modified Files:
        monetdb5/mal/mal_interpreter.mx
Branch: default
Log Message:

Fix for bug 2909
Check if we are in debugging mode, before dumping
the trace information.


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
@@ -2592,7 +2592,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

Reply via email to