summaryrefslogtreecommitdiff
path: root/regex
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2004-06-15 12:58:58 +0200
committerunknown <lenz@mysql.com>2004-06-15 12:58:58 +0200
commitfa4b3f0fcc35e77d4de2bdcb99d13e2b7cc69296 (patch)
treeb99e43704d675f7bf5e0954295ff107de21f560c /regex
parent964618ede258510beb634049f4b5d668adfba2d9 (diff)
downloadmariadb-git-fa4b3f0fcc35e77d4de2bdcb99d13e2b7cc69296.tar.gz
- compile fix for regex/regcomp.c spotted on Mac OS X
(too few arguments) regex/regcomp.c: - compile fix spotted on Mac OS X (too few arguments)
Diffstat (limited to 'regex')
-rw-r--r--regex/regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex/regcomp.c b/regex/regcomp.c
index b939429e16e..31899609e3c 100644
--- a/regex/regcomp.c
+++ b/regex/regcomp.c
@@ -884,7 +884,7 @@ int ch;
register char *oldend = p->end;
char bracket[3];
- assert(othercase(ch) != ch); /* p_bracket() would recurse */
+ assert(othercase(p->charset, ch) != ch); /* p_bracket() would recurse */
p->next = bracket;
p->end = bracket+2;
bracket[0] = ch;