THANKS!!!
;-)

S.

--
| Stefan.Manegold @ CWI.nl | DB Architectures (INS1) |
| http://CWI.nl/~manegold/ | Science Park 123 (L321) |
| Tel.: +31 (0)20 592-4212 | 1098 XG Amsterdam  (NL) |


----- Reply message -----
From: "Sjoerd Mullender" <[email protected]>
To: <[email protected]>
Subject: MonetDB: Jul2012 - Only print runtimeTiming information when in ...
Date: Fri, Aug 24, 2012 17:09




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
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to