Changeset: 4d79d779bc96 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4d79d779bc96
Modified Files:
        gdk/gdk_bbp.c
Branch: multi-cachelock
Log Message:

assert correct statistics


diffs (11 lines):

diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -2632,6 +2632,7 @@ BBPhandover(Thread t, bat nr)
                i = BBP_next(i);
        }
        t->free = i;
+       assert((t->free && t->stat_free_count) || (!t->free && 
!t->stat_free_count));
 
        MT_lock_set(&GDKcacheLock);
        BBP_next(last) = BBP_free;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to