Changeset: ce097a186dcf for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ce097a186dcf
Modified Files:
        gdk/gdk.h
Branch: persistent_sketches
Log Message:

Look at stats heap dirty flag as well


diffs (17 lines):

diff --git a/gdk/gdk.h b/gdk/gdk.h
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -3065,10 +3065,11 @@ BATdirty(const BAT *b)
 {
        return !b->batCopiedtodisk ||
                b->theap->dirty ||
-               (b->tvheap != NULL && b->tvheap->dirty);
+               (b->tvheap != NULL && b->tvheap->dirty) ||
+               (b->tstats != NULL && b->tstats->dirty);
 }
 
-#define BATdirtybi(bi) (!(bi).copiedtodisk || (bi).hdirty || (bi).vhdirty)
+#define BATdirtybi(bi) (!(bi).copiedtodisk || (bi).hdirty || (bi).vhdirty || 
(bi).shdirty)
 
 ATTR_PURE
 static inline BUN
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to