Changeset: e1c243755f9a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/e1c243755f9a
Modified Files:
monetdb5/mal/mal_client.c
Branch: sql_profiler
Log Message:
Mark location for client start and end events.
diffs (20 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
@@ -206,6 +206,7 @@ MCexitClient(Client c)
c->fdout = NULL;
c->fdin = NULL;
}
+ // TODO PROFILER EVENT: end of Client object, i.e. client exits and
mapi connection is closed.
}
static Client
@@ -296,6 +297,8 @@ MCinitClient(oid user, bstream *fin, str
MT_lock_set(&mal_contextLock);
c = MCnewClient();
+ // TODO PROFILER EVENT: start of new Client object with id aka a new
connection.
+
if (c)
c = MCinitClientRecord(c, user, fin, fout);
MT_lock_unset(&mal_contextLock);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]