Changeset: f5ea043fea1c for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/f5ea043fea1c Modified Files: monetdb5/mal/mal_profiler.c Branch: Jul2021_prof_ext Log Message:
Reverse order of field for consistency diffs (15 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 @@ -188,9 +188,9 @@ prepareNonMalEvent(Client cntxt, str pha query = mal_quote(cntxt->query, strlen(cntxt->query)); } - if (!logadd(&logbuf, "{\"clk\":"ULLFMT"", mclk)) + if (sessionid != -1 && !logadd(&logbuf, "{\"sessionid\":\"%d\"", sessionid)) goto cleanup_and_exit; - if (sessionid != -1 && !logadd(&logbuf, ", \"sessionid\":\"%d\"", sessionid)) + if (!logadd(&logbuf, ", \"clk\":"ULLFMT"", mclk)) goto cleanup_and_exit; if (!logadd(&logbuf, ", \"thread\":%d, \"phase\":\"%s\"", THRgettid(), phase)) _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org