Changeset: 0e961653cb4b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/0e961653cb4b
Modified Files:
gdk/gdk_batop.c
Branch: Jan2022
Log Message:
Merge with Jul2021 branch.
diffs (20 lines):
diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c
--- a/gdk/gdk_batop.c
+++ b/gdk/gdk_batop.c
@@ -437,13 +437,14 @@ append_varsized_bat(BAT *b, BAT *n, stru
GDKfree(h);
return GDK_FAIL;
}
- BBPunshare(b->tvheap->parentid);
- BBPunfix(b->tvheap->parentid);
+ bat parid = b->tvheap->parentid;
+ BBPunshare(parid);
MT_lock_set(&b->theaplock);
HEAPdecref(b->tvheap, false);
ATOMIC_INIT(&h->refs, 1);
b->tvheap = h;
MT_lock_unset(&b->theaplock);
+ BBPunfix(parid);
}
if (BATcount(b) == 0 && BATatoms[b->ttype].atomFix == NULL &&
ci->tpe == cand_dense && ci->ncand == ni.count) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]