Changeset: 4f9975c964bc for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4f9975c964bc
Modified Files:
        monetdb5/mal/mal_client.c
Branch: Sep2022
Log Message:

Do not allow fictional clients (part of MAL init) to produce profiler events.


diffs (12 lines):

diff --git a/monetdb5/mal/mal_client.c b/monetdb5/mal/mal_client.c
--- a/monetdb5/mal/mal_client.c
+++ b/monetdb5/mal/mal_client.c
@@ -309,7 +309,7 @@ MCinitClient(oid user, bstream *fin, str
        }
        MT_lock_unset(&mal_contextLock);
 
-       if (c)
+       if (c && profilerStatus > 0)
                profilerEvent(NULL,
                                          &(struct NonMalEvent)
                                          {CLIENT_START, c, c->session,  NULL, 
NULL, 0, 0});
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to