Changeset: 1e8a08e49b1a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/1e8a08e49b1a
Modified Files:
gdk/gdk_bat.c
Branch: Jul2021
Log Message:
Also set heap size based on amount of data copied.
diffs (12 lines):
diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -852,7 +852,7 @@ COLcopy(BAT *b, int tt, bool writable, r
goto bunins_failed;
}
memcpy(bn->theap->base, bi.base, bi.count << bi.shift);
- bn->theap->free = bi.hfree;
+ bn->theap->free = bi.count << bi.shift;
bn->theap->dirty = true;
if (bn->tvheap) {
memcpy(bn->tvheap->base, bi.vh->base,
bi.vhfree);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list