Changeset: d061c5417d61 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d061c5417d61
Modified Files:
        gdk/gdk_batop.c
Branch: properties
Log Message:

If the heap is not yet loaded, don't try to find the value.


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
@@ -2350,7 +2350,7 @@ BATgetprop(BAT *b, enum prop_t idx)
 
        MT_lock_set(&b->batIdxLock);
        p = BATgetprop_nolock(b, idx);
-       if (p == NULL) {
+       if (p == NULL && (b->ttype == TYPE_void || b->theap.base != NULL)) {
                /* if looking for the min/max value, we may be able to
                 * find it using the position; note we can't do this
                 * when reading in the BBP since the BAT type may not be
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to