Changeset: b8da6dbefaf6 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/b8da6dbefaf6 Modified Files: monetdb5/modules/kernel/batstr.c Branch: txtsim Log Message:
use proper condition, when !icase have candidates for starts/ends-with/contains diffs (12 lines): diff --git a/monetdb5/modules/kernel/batstr.c b/monetdb5/modules/kernel/batstr.c --- a/monetdb5/modules/kernel/batstr.c +++ b/monetdb5/modules/kernel/batstr.c @@ -1766,7 +1766,7 @@ prefix_or_suffix_cst(Client cntxt, MalBl oid off1; bat *res = getArgReference_bat(stk, pci, 0), *bid = getArgReference_bat(stk, pci, 1), *sid1 = NULL; int ynil, ylen; - if ((icase && pci->argc == 4) || pci->argc == 5) { + if ((!icase && pci->argc == 4) || pci->argc == 5) { assert(getArgType(mb, pci, icase?4:3) == TYPE_bat); sid1 = getArgReference_bat(stk, pci, icase?4:3); } _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org