Changeset: 12f9da627389 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/12f9da627389 Modified Files: gdk/gdk_batop.c Branch: Jun2023 Log Message:
Use `free' value of to-be-copied heap to allocate size, not its `size'. diffs (12 lines): diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c --- a/gdk/gdk_batop.c +++ b/gdk/gdk_batop.c @@ -139,7 +139,7 @@ insert_string_bat(BAT *b, BATiter *ni, s } MT_lock_set(&b->theaplock); - if (HEAPgrow(&b->tvheap, toff + ni->vh->size, force) != GDK_SUCCEED) { + if (HEAPgrow(&b->tvheap, toff + ni->vhfree, force) != GDK_SUCCEED) { MT_lock_unset(&b->theaplock); return GDK_FAIL; } _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org