Changeset: f07a0d768e9d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/f07a0d768e9d
Modified Files:
        gdk/gdk_histogram.c
Branch: histograms
Log Message:

Use right count (avoid data race)


diffs (12 lines):

diff --git a/gdk/gdk_histogram.c b/gdk/gdk_histogram.c
--- a/gdk/gdk_histogram.c
+++ b/gdk/gdk_histogram.c
@@ -347,7 +347,7 @@ HISTOGRAMcreate(BAT *b)
                return GDK_FAIL;
        }
 
-       if (BATcount(b) == 0) { /* no histograms on empty BATs */
+       if (bi.count == 0) { /* no histograms on empty BATs */
                bat_iterator_end(&bi);
                return GDK_SUCCEED;
        }
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to