Changeset: db0eba9f335c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/db0eba9f335c
Modified Files:
gdk/gdk_bbp.c
Branch: default
Log Message:
Protect against unknown type.
diffs (12 lines):
diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -1933,7 +1933,7 @@ BBPvarnil_upgrade(void)
lng t0 = GDKusec();
for (bat bid = 1, nbat = getBBPsize(); bid < nbat; bid++) {
BAT *b = BBP_desc(bid);
- if (b->batCount == 0 || b->tnonil)
+ if (b->ttype < 0 || b->batCount == 0 || b->tnonil)
continue;
if (ATOMstorage(b->ttype) == TYPE_str) {
if (fixstrnilbat(b) != GDK_SUCCEED)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]