summaryrefslogtreecommitdiff
path: root/regex/regexec.c
diff options
context:
space:
mode:
authorbar@gw.udmsearch.izhnet.ru <>2002-03-06 20:04:13 +0400
committerbar@gw.udmsearch.izhnet.ru <>2002-03-06 20:04:13 +0400
commit2eed4065503ac1feda16cf0bff49657980b9dd11 (patch)
treec6287ade2a44504c39beaf6f8b3da5437184fae4 /regex/regexec.c
parent576c9b8167a20a2daec4bb1678ff707075c29ff8 (diff)
downloadmariadb-git-2eed4065503ac1feda16cf0bff49657980b9dd11.tar.gz
Regex library is switched to use new ctype tools
to allow usage of many character sets at a time.
Diffstat (limited to 'regex/regexec.c')
-rw-r--r--regex/regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regex/regexec.c b/regex/regexec.c
index 7f2704f8214..723289bd0ad 100644
--- a/regex/regexec.c
+++ b/regex/regexec.c
@@ -133,7 +133,7 @@ int eflags;
if ((size_t) g->nstates <= CHAR_BIT*sizeof(states1) &&
!(eflags&REG_LARGE))
- return(smatcher(g, (char *)str, nmatch, pmatch, eflags));
+ return(smatcher(preg->charset, g, (char *)str, nmatch, pmatch, eflags));
else
- return(lmatcher(g, (char *)str, nmatch, pmatch, eflags));
+ return(lmatcher(preg->charset, g, (char *)str, nmatch, pmatch, eflags));
}