Changeset: 4c84a9be8cc8 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4c84a9be8cc8
Modified Files:
monetdb5/modules/mal/pcre.c
Branch: Jan2022
Log Message:
Make strimps opt-in
The user needs to specify --set gdk_use_strimps=yes in order to enable strimp
creation.
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
@@ -1870,7 +1870,7 @@ PCRElikeselect(bat *ret, const bat *bid,
str msg = MAL_SUCCEED;
char *ppat = NULL;
bool use_re = false, use_strcmp = false, empty = false;
- bool use_strimps = !GDKgetenv_istext("gdk_use_strimps", "no"),
with_strimps = false;
+ bool use_strimps = GDKgetenv_isyes("gdk_use_strimps"), with_strimps =
false;
if ((b = BATdescriptor(*bid)) == NULL) {
msg = createException(MAL, "algebra.likeselect",
SQLSTATE(HY002) RUNTIME_OBJECT_MISSING);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list