Changeset: 7da86061d398 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/7da86061d398
Modified Files:
        monetdb5/modules/mal/pcre.c
Branch: Jan2022
Log Message:

Set tseqbase correctly.


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
@@ -1940,7 +1940,7 @@ PCRElikeselect(bat *ret, const bat *bid,
                        bn->tkey = true;
                        bn->tnil = false;
                        bn->tnonil = true;
-                       bn->tseqbase = rcnt == 0 ? 0 : rcnt == 1 || rcnt == 
b->batCount ? b->hseqbase : oid_nil;
+                       bn->tseqbase = rcnt == 0 ? 0 : rcnt == 1 ? *(const 
oid*)Tloc(bn, 0) : rcnt == b->batCount ? b->hseqbase : oid_nil;
                }
        }
 
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to