Changeset: 624f5c4b7432 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/624f5c4b7432
Modified Files:
gdk/gdk_bat.c
Branch: persistent_sketches
Log Message:
make sure we have a sketch
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
@@ -924,7 +924,7 @@ COLcopy2(BAT *b, int tt, bool writable,
memcpy(bn->theap->base, bi.base, bi.hfree);
bn->theap->free = bi.hfree;
bn->theap->dirty = true;
- if (bn->tsketch) {
+ if (bn->tsketch && bi.skh) {
memcpy(bn->theap->base, bi.skh, SKETCH_SIZE);
bn->tsketch->dirty = true;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]