Changeset: 11cef0d201ba for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=11cef0d201ba
Modified Files:
monetdb5/modules/kernel/algebra.c
Branch: default
Log Message:
Can't use BBPreclaim on BATs we got from BATdescriptor().
diffs (24 lines):
diff --git a/monetdb5/modules/kernel/algebra.c
b/monetdb5/modules/kernel/algebra.c
--- a/monetdb5/modules/kernel/algebra.c
+++ b/monetdb5/modules/kernel/algebra.c
@@ -659,15 +659,15 @@ do_join(bat *r1, bat *r2, const bat *lid
fail:
if (left)
- BBPreclaim(left);
+ BBPunfix(left->batCacheid);
if (right)
- BBPreclaim(right);
+ BBPunfix(right->batCacheid);
if (right2)
- BBPreclaim(right2);
+ BBPunfix(right2->batCacheid);
if (candleft)
- BBPreclaim(candleft);
+ BBPunfix(candleft->batCacheid);
if (candright)
- BBPreclaim(candright);
+ BBPunfix(candright->batCacheid);
throw(MAL, funcname, RUNTIME_OBJECT_MISSING);
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list