Changeset: 41e86d85bbbb for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/41e86d85bbbb Modified Files: monetdb5/modules/mal/batMask.c Branch: Jul2021 Log Message:
Unfix before returning diffs (15 lines): diff --git a/monetdb5/modules/mal/batMask.c b/monetdb5/modules/mal/batMask.c --- a/monetdb5/modules/mal/batMask.c +++ b/monetdb5/modules/mal/batMask.c @@ -36,8 +36,10 @@ MSKmask(Client cntxt, MalBlkPtr mb, MalS bid = getArgReference_bat(stk, pci, 1); if ((b = BATdescriptor(*bid)) == NULL) throw(SQL, "bat.mask", SQLSTATE(HY002) RUNTIME_OBJECT_MISSING); - if( !b->tkey || !b->tsorted ) + if( !b->tkey || !b->tsorted ) { + BBPunfix(b->batCacheid); throw(SQL, "bat.mask", SQLSTATE(HY002) "Input should be unique and in ascending order"); + } if (BATcount(b) == 0) { dst = COLnew(0, TYPE_msk, 0, TRANSIENT); } else { _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list