1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Regex library is switched to use new ctype tools

to allow usage of many character sets at a time.
This commit is contained in:
bar@gw.udmsearch.izhnet.ru
2002-03-06 20:04:13 +04:00
parent 576c9b8167
commit 2eed406550
13 changed files with 126 additions and 100 deletions

View File

@@ -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));
}