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

properly reset statistics


diffs (12 lines):

diff --git a/gdk/gdk_bbp.c b/gdk/gdk_bbp.c
--- a/gdk/gdk_bbp.c
+++ b/gdk/gdk_bbp.c
@@ -2696,6 +2696,8 @@ bbpclear(bat i, int idx, bool lock)
                        bat first = BBP_free(idx);
                        bat last = first;
                        i = first;
+                       BBP_stat_free_count(idx) -= b;
+                       BBP_stat_free_min(idx) = BBP_stat_free_max(idx) = 
BBP_stat_free_count(idx);
                        while (b--) {
                                last = i;
                                i = BBP_next(i);
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to