Changeset: 87cd6fa29635 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/87cd6fa29635
Modified Files:
monetdb5/modules/mal/strimps.c
Branch: string_imprints
Log Message:
Make sure the strimp is created before filtering
diffs (12 lines):
diff --git a/monetdb5/modules/mal/strimps.c b/monetdb5/modules/mal/strimps.c
--- a/monetdb5/modules/mal/strimps.c
+++ b/monetdb5/modules/mal/strimps.c
@@ -124,6 +124,8 @@ PATstrimpFilterSelect(Client cntxt, MalB
assert(s->ttype == TYPE_void);
+ if(STRMPcreate(b) != GDK_SUCCEED)
+ throw(MAL, "strimps.strimpfilter", SQLSTATE(HY002) "strimp
creation failed");
pat = *getArgReference_str(stk, pci, 3);
if ((ob = STRMPfilter(b, pat)) == NULL) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list