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

We don't share hashes anymore between parent and view.


diffs (26 lines):

diff --git a/gdk/gdk_hash.c b/gdk/gdk_hash.c
--- a/gdk/gdk_hash.c
+++ b/gdk/gdk_hash.c
@@ -118,18 +118,10 @@ doHASHdestroy(BAT *b, Hash *hs)
                          BBP_physical(b->batCacheid),
                          "thashb");
        } else if (hs) {
-               bat p = VIEWtparent(b);
-               BAT *hp = NULL;
-
-               if (p)
-                       hp = BBP_cache(p);
-
-               if (!hp || hs != hp->thash) {
-                       TRC_DEBUG(ACCELERATOR, ALGOBATFMT ": removing%s 
hash\n", ALGOBATPAR(b), *(size_t *) hs->heapbckt.base & (1 << 24) ? " 
persisted" : "");
-                       HEAPfree(&hs->heapbckt, true);
-                       HEAPfree(&hs->heaplink, true);
-                       GDKfree(hs);
-               }
+               TRC_DEBUG(ACCELERATOR, ALGOBATFMT ": removing%s hash\n", 
ALGOBATPAR(b), *(size_t *) hs->heapbckt.base & (1 << 24) ? " persisted" : "");
+               HEAPfree(&hs->heapbckt, true);
+               HEAPfree(&hs->heaplink, true);
+               GDKfree(hs);
        }
 }
 
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to