Changeset: 86b809f9dae1 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/86b809f9dae1 Modified Files: monetdb5/mal/mal_client.h monetdb5/mal/mal_embedded.c monetdb5/modules/mal/clients.c Branch: Jun2023 Log Message:
Cleanup of no longer used debug variable from struct CLIENT. It was used by MAL debugger which is removed in Jun2023. diffs (43 lines): diff --git a/monetdb5/mal/mal_client.h b/monetdb5/mal/mal_client.h --- a/monetdb5/mal/mal_client.h +++ b/monetdb5/mal/mal_client.h @@ -127,12 +127,6 @@ typedef struct CLIENT { * executed. Nesting is indicated using a '+' before the prompt. */ int blkmode; /* control block parsing */ - /* - * The MAL debugger uses the client record to keep track of any - * pervasive debugger command. For detailed information on the - * debugger features. - */ - int debug; enum clientmode mode; /* FREECLIENT..BLOCKED */ /* * Client records are organized into a two-level dependency tree, diff --git a/monetdb5/mal/mal_embedded.c b/monetdb5/mal/mal_embedded.c --- a/monetdb5/mal/mal_embedded.c +++ b/monetdb5/mal/mal_embedded.c @@ -88,7 +88,7 @@ malEmbeddedBoot(int workerlimit, int mem } if (!MCinit()) - throw(MAL, "malEmbeddedBoot", "MAL debugger failed to start"); + throw(MAL, "malEmbeddedBoot", "Failed to initialize clients structure"); // monet_memory = MT_npages() * MT_pagesize(); initNamespace(); initHeartbeat(); diff --git a/monetdb5/modules/mal/clients.c b/monetdb5/modules/mal/clients.c --- a/monetdb5/modules/mal/clients.c +++ b/monetdb5/modules/mal/clients.c @@ -135,11 +135,6 @@ CLTInfo(Client cntxt, MalBlkPtr mb, MalS BUNappend(bn, buf, false) != GDK_SUCCEED) goto bailout; - (void) snprintf(buf, sizeof(buf), "%d", cntxt->debug); - if (BUNappend(b, "debug", false) != GDK_SUCCEED || - BUNappend(bn, buf, false) != GDK_SUCCEED) - goto bailout; - CLTtimeConvert(cntxt->login, buf); if (BUNappend(b, "login", false) != GDK_SUCCEED || BUNappend(bn, buf, false) != GDK_SUCCEED) _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org