Changeset: 1ef45d0c541e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/1ef45d0c541e
Modified Files:
monetdb5/modules/mal/pcre.c
Branch: string_imprints
Log Message:
Flip the default value of gdk_use_strimps
The user needs to explicitly opt out by setting gdk_use_strimps=no.
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_isyes("gdk_use_strimps");
+ bool use_strimps = !GDKgetenv_istext("gdk_use_strimps", "no");
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