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

small extra check for GDKinmemory()


diffs (12 lines):

diff --git a/gdk/gdk_heap.c b/gdk/gdk_heap.c
--- a/gdk/gdk_heap.c
+++ b/gdk/gdk_heap.c
@@ -579,7 +579,7 @@ HEAPfree(Heap *h, bool rmheap)
                }
        } else
 #endif
-       if (rmheap) {
+       if (rmheap && !GDKinmemory()) { /* TODO better fix in gdk_hash.c*/
                char *path = GDKfilepath(h->farmid, BATDIR, h->filename, NULL);
                if (path && remove(path) != 0 && errno != ENOENT)
                        perror(path);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to