Changeset: a055d2014c14 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a055d2014c14
Modified Files:
        monetdb5/mal/mal_profiler.c
Branch: default
Log Message:

Don't forget to flush


diffs (13 lines):

diff --git a/monetdb5/mal/mal_profiler.c b/monetdb5/mal/mal_profiler.c
--- a/monetdb5/mal/mal_profiler.c
+++ b/monetdb5/mal/mal_profiler.c
@@ -102,8 +102,7 @@ static void logsend(char *logbuffer)
                        offlineProfilerHeader();
                eventcounter++;
                error= mnstr_printf(eventstream,"[ %d,\t%s", eventcounter, 
logbuffer);
-               if( error == 0)
-                       error= mnstr_flush(eventstream);
+               error= mnstr_flush(eventstream);
                MT_lock_unset(&mal_profileLock, "logsend");
                if ( error) stopProfiler();
        }
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to