Changeset: 13189e138326 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/13189e138326
Modified Files:
        gdk/gdk_bbp.c
Branch: Jan2022
Log Message:

Avoid data race.


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
@@ -2510,7 +2510,7 @@ BBPinsert(BAT *bn)
        MT_lock_unset(&GDKswapLock(i));
 
 #ifdef HAVE_HGE
-       if (bn->ttype == TYPE_hge)
+       if (bn->ttype == TYPE_hge && !havehge)
                havehge = true;
 #endif
 
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to