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
commit9b3ed0f23d23fde20411561491a4b00cd9c6fd94 (patch)
treeb99e43704d675f7bf5e0954295ff107de21f560c /regex
parentebfbeed35724e2362c823f37ede5938b675fc172 (diff)
downloadmariadb-git-9b3ed0f23d23fde20411561491a4b00cd9c6fd94.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;