Changeset: 322a2a87a3f9 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/322a2a87a3f9
Modified Files:
monetdb5/modules/mal/tablet.c
Branch: Jan2022
Log Message:
Merge with Jul2021 branch.
diffs (18 lines):
diff --git a/monetdb5/modules/mal/tablet.c b/monetdb5/modules/mal/tablet.c
--- a/monetdb5/modules/mal/tablet.c
+++ b/monetdb5/modules/mal/tablet.c
@@ -133,10 +133,12 @@ TABLETcreate_bats(Tablet *as, BUN est)
fmt[i].c = void_bat_create(fmt[i].adt, est);
if (!fmt[i].c) {
while (i > 0) {
- if (!fmt[--i].skip)
+ if (!fmt[--i].skip) {
BBPreclaim(fmt[i].c);
+ fmt[i].c = NULL;
+ }
}
- throw(SQL, "copy", "Failed to create bat of size "
BUNFMT "\n", as->nr);
+ throw(SQL, "copy", "Failed to create bat of size "
BUNFMT "\n", est);
}
fmt[i].ci = bat_iterator_nolock(fmt[i].c);
nr++;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]