Changeset: 5cb10400f35b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/5cb10400f35b
Modified Files:
        gdk/gdk_rtree.c
Branch: Aug2024
Log Message:

Fixes RTREEdestroy flow for monetdbe


diffs (12 lines):

diff --git a/gdk/gdk_rtree.c b/gdk/gdk_rtree.c
--- a/gdk/gdk_rtree.c
+++ b/gdk/gdk_rtree.c
@@ -313,7 +313,7 @@ RTREEdestroy(BAT *b)
        }
        //If the rtree is not loaded (pb->trtree is null), but there is a file 
with the index (from previous execution),
        //we should remove the file
-       else if (RTREEexistsonfile(pb)) {
+       else if (pb->theap && !GDKinmemory(pb->theap->farmid) && 
RTREEexistsonfile(pb)) {
                GDKunlink(pb->theap->farmid,
                        BATDIR,
                        BBP_physical(b->batCacheid),
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to