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:
@@ -133,7 +133,7 @@ int eflags;
|
||||
|
||||
if ((size_t) g->nstates <= CHAR_BIT*sizeof(states1) &&
|
||||
!(eflags®_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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user