Changeset: 5ccfe353a0cd for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5ccfe353a0cd
Modified Files:
        gdk/gdk_hash.c
Branch: Mar2018
Log Message:

Don't persist hash for dirty heap.


diffs (12 lines):

diff --git a/gdk/gdk_hash.c b/gdk/gdk_hash.c
--- a/gdk/gdk_hash.c
+++ b/gdk/gdk_hash.c
@@ -573,7 +573,7 @@ BAThash(BAT *b, BUN masksize)
                        return GDK_FAIL;
                }
 #ifdef PERSISTENTHASH
-               if (BBP_status(b->batCacheid) & BBPEXISTING) {
+               if (BBP_status(b->batCacheid) & BBPEXISTING && !b->theap.dirty) 
{
                        MT_Id tid;
                        BBPfix(b->batCacheid);
                        if (MT_create_thread(&tid, BAThashsync, b,
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to