summaryrefslogtreecommitdiff
path: root/regex
diff options
context:
space:
mode:
authorlenz@mysql.com <>2004-06-15 12:58:58 +0200
committerlenz@mysql.com <>2004-06-15 12:58:58 +0200
commit9d788778a0d9ae5b4ae01d9420202567588c2873 (patch)
treeb99e43704d675f7bf5e0954295ff107de21f560c /regex
parentb9f2b3420074b3d9639c82d735d699f9817565d0 (diff)
downloadmariadb-git-9d788778a0d9ae5b4ae01d9420202567588c2873.tar.gz
- compile fix for regex/regcomp.c 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;