Changeset: 3d7b9f264bd3 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/3d7b9f264bd3
Modified Files:
        gdk/gdk_bbp.c
Branch: persistent_sketches
Log Message:

small fix, use the type from the bat to check if this bat is sketchable. The t 
variable is set by vheapinit to the bte, sht etc offset type.


diffs (12 lines):

diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -607,7 +607,7 @@ heapinit(BAT *b, const char *buf,
        } else {
                b->tvheap = NULL;
        }
-       if (ATOMsketchable(t) /*&& b->theap->hasfile*/) {
+       if (ATOMsketchable(b->ttype) /*&& b->theap->hasfile*/) {
                b->tsketch->free = SKETCH_SIZE;
                b->tsketch->size = SKETCH_SIZE;
                b->tsketch->base = NULL;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to