Stefan Manegold
2012-08-25 07:21:58 UTC
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" <sjoerd-***@public.gmane.org>
To: <checkin-list-d/***@public.gmane.org>
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 */
;-)
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" <sjoerd-***@public.gmane.org>
To: <checkin-list-d/***@public.gmane.org>
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 */