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

Merge with Dec2025 branch.


diffs (15 lines):

diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -2476,7 +2476,10 @@ BATsetaccess(BAT *b, restrict_t newmode)
                        b3 = b->tvheap->newstorage;
                        m3 = HEAPchangeaccess(b->tvheap, ACCESSMODE(wr && ta, 
rd && ta), existing);
                }
-               if (m1 == STORE_INVALID || m3 == STORE_INVALID) {
+               if ((b->theap->base && m1 == STORE_INVALID) ||
+                   m3 == STORE_INVALID) {
+                       GDKerror("invalid storage " ALGOBATFMT "\n",
+                                ALGOBATPAR(b));
                        MT_lock_unset(&b->theaplock);
                        BBPunfix(b->batCacheid);
                        return NULL;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to