Changeset: b10a0354f94a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/b10a0354f94a
Modified Files:
        gdk/gdk_strimps.c
Branch: strimps_update
Log Message:

Release lock on the correct BAT after reading strimp


diffs (12 lines):

diff --git a/gdk/gdk_strimps.c b/gdk/gdk_strimps.c
--- a/gdk/gdk_strimps.c
+++ b/gdk/gdk_strimps.c
@@ -853,7 +853,7 @@ STRMPcreate(BAT *b, BAT *s)
                        pb->tstrimps = NULL;
                if (pb->tstrimps == NULL || pb->tstrimps == (Strimps*)1) {
                        if (BATcheckstrimps(pb)) {
-                               MT_lock_unset(&b->batIdxLock);
+                               MT_lock_unset(&pb->batIdxLock);
                                return GDK_SUCCEED;
                        }
 
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to