Changeset: d14686f2294e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d14686f2294e
Modified Files:
gdk/gdk_bbp.c
Branch: Dec2023
Log Message:
Add an assert.
diffs (11 lines):
diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -4117,6 +4117,7 @@ BBPsync(int cnt, bat *restrict subcommit
/* move any tail/theap files we find for this bat that
* are in the BACKUP directory to the SUBCOMMIT
* directory */
+ assert(b->ttype > 0); /* no unknown types allowed */
char fname[16]; /* plenty big enough */
if (snprintf(fname, sizeof(fname), "%o", (unsigned)
bid) < 16) {
/* the snprintf never fails, any of the
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]