Changeset: dda696d54dbd for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/dda696d54dbd
Modified Files:
monetdb5/modules/mal/pcre.c
Branch: strimps_update
Log Message:
Use more appropriate function to get cand complement
diffs (12 lines):
diff --git a/monetdb5/modules/mal/pcre.c b/monetdb5/modules/mal/pcre.c
--- a/monetdb5/modules/mal/pcre.c
+++ b/monetdb5/modules/mal/pcre.c
@@ -1949,7 +1949,7 @@ PCRElikeselect(bat *ret, const bat *bid,
bn->tseqbase = rcnt == 0 ? 0 : rcnt == 1 ? *(const
oid*)Tloc(bn, 0) : rcnt == b->batCount ? b->hseqbase : oid_nil;
if(with_strimps_anti) {
/* Reverse the result */
- BAT *rev = BATdiffcand(BATdense(0, 0,
b->batCount), bn);
+ BAT *rev = BATnegcands(BATcount(b), bn);
BBPunfix(bn->batCacheid);
bn = rev;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]