Changeset: f75d6cd40c07 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f75d6cd40c07
Modified Files:
sql/backends/monet5/sql.c
Branch: Jul2017
Log Message:
BAT leak.
diffs (11 lines):
diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c
--- a/sql/backends/monet5/sql.c
+++ b/sql/backends/monet5/sql.c
@@ -2792,6 +2792,7 @@ zero_or_one(ptr ret, const bat *bid)
p = BUNtail(bi, 0);
} else {
p = NULL;
+ BBPunfix(b->batCacheid);
throw(SQL, "zero_or_one", "21000!cardinality violation, scalar
value expected");
}
_s = ATOMsize(ATOMtype(b->ttype));
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list