Changeset: e0864481b83a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/e0864481b83a
Modified Files:
        gdk/gdk_bat.c
Branch: Jul2021
Log Message:

Need to clear heap as well when clearing bat.


diffs (11 lines):

diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -640,6 +640,7 @@ BATclear(BAT *b, bool force)
        b->batCount = 0;
        if (b->ttype == TYPE_void)
                b->batCapacity = 0;
+       b->theap->free = 0;
        BAThseqbase(b, 0);
        BATtseqbase(b, ATOMtype(b->ttype) == TYPE_oid ? 0 : oid_nil);
        b->batDirtydesc = true;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to