Changeset: 6efb80c3e63b for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/6efb80c3e63b Modified Files: monetdb5/mal/mal.c sql/backends/monet5/sql_scenario.c Branch: Dec2023 Log Message:
Register functions to print info for USR1 signal. They're still empty... diffs (49 lines): diff --git a/monetdb5/mal/mal.c b/monetdb5/mal/mal.c --- a/monetdb5/mal/mal.c +++ b/monetdb5/mal/mal.c @@ -51,6 +51,12 @@ mal_version(void) return MONETDB5_VERSION; } +static void +MALprintinfo(void) +{ + /* we need to start printing MAL info here... */ +} + /* * Initialization of the MAL context */ @@ -91,6 +97,8 @@ mal_init(char *modules[], bool embedded, return -1; initNamespace(); + GDKprintinforegister(MALprintinfo); + err = malBootstrap(modules, embedded, initpasswd); if (err !=MAL_SUCCEED) { mal_client_reset(); diff --git a/sql/backends/monet5/sql_scenario.c b/sql/backends/monet5/sql_scenario.c --- a/sql/backends/monet5/sql_scenario.c +++ b/sql/backends/monet5/sql_scenario.c @@ -85,6 +85,12 @@ static MT_Lock sql_contextLock = MT_LOCK static str SQLinit(Client c, const char *initpasswd); static str master_password = NULL; +static void +SQLprintinfo(void) +{ + /* we need to start printing SQL info here... */ +} + str //SQLprelude(void *ret) SQLprelude(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr pci) @@ -153,6 +159,7 @@ SQLprelude(Client cntxt, MalBlkPtr mb, M fprintf(stdout, "# MonetDB/SQL module loaded\n"); fflush(stdout); /* make merovingian see this *now* */ } + GDKprintinforegister(SQLprintinfo); if (GDKinmemory(0) || GDKembedded()) { s->name = "sql"; ms->name = "msql"; _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org