Changeset: f81afe3902d5 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/f81afe3902d5
Modified Files:
        sql/storage/bat/bat_logger.c
Branch: persistent_sketches
Log Message:

initialized sketches heap


diffs (19 lines):

diff --git a/sql/storage/bat/bat_logger.c b/sql/storage/bat/bat_logger.c
--- a/sql/storage/bat/bat_logger.c
+++ b/sql/storage/bat/bat_logger.c
@@ -1440,12 +1440,14 @@ snapshot_bats(stream *plan, BAT *bats_to
                BAT b;
                Heap h;
                Heap vh;
-               vh = h = (Heap) {
+               Heap th;
+               th = vh = h = (Heap) {
                        .free = 0,
                };
                b = (BAT) {
                        .theap = &h,
                        .tvheap = &vh,
+                       .tsketch = &th,
                };
                char filename[sizeof(BBP_physical(0))];
                char batname[129];
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to