Changeset: 6da5a9a5e214 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6da5a9a5e214
Modified Files:
        sql/storage/store.c
Branch: Mar2025
Log Message:

Print current store object id (next ID to be doled out) on SIGUSR1.


diffs (12 lines):

diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -7841,6 +7841,8 @@ sql_trans_convert_partitions(sql_trans *
 void
 store_printinfo(sqlstore *store)
 {
+       printf("SQL store object id: %"PRIu64"\n",
+                  (uint64_t) ATOMIC_GET(&store->obj_id));
        if (!MT_lock_trytime(&store->commit, 1000)) {
                printf("WAL is currently locked, so no WAL information\n");
                return;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to