diff options
author | unknown <iggy@mysql.com> | 2006-06-19 22:19:05 -0400 |
---|---|---|
committer | unknown <iggy@mysql.com> | 2006-06-19 22:19:05 -0400 |
commit | aa94800d10f1caccbe42cabd5d3ed8e76d89bfcc (patch) | |
tree | bd2064ecc400ae3a906e2302b27ad0be54559ab9 /regex | |
parent | cca7d7e678dd85a0e308ea640a350d2af8bd98b8 (diff) | |
download | mariadb-git-aa94800d10f1caccbe42cabd5d3ed8e76d89bfcc.tar.gz |
Bug#19407 Test 'func_regexp' fails on Windows x64
regex/regexec.c:
The Win64 pre-processor evaluates state1 at the end of the chain at replace-time not at definition-time. This causes states1 to be defined as char *.
Diffstat (limited to 'regex')
-rw-r--r-- | regex/regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regex/regexec.c b/regex/regexec.c index b7ad83ba883..88bcc02323d 100644 --- a/regex/regexec.c +++ b/regex/regexec.c @@ -19,7 +19,7 @@ static int nope = 0; /* for use in asserts; shuts lint up */ /* macros for manipulating states, small version */ #define states long -#define states1 states /* for later use in regexec() decision */ +#define states1 long /* for later use in regexec() decision. Ensure Win64 definition is correct.*/ #define CLEAR(v) ((v) = 0) #define SET0(v, n) ((v) &= ~((states) 1 << (n))) #define SET1(v, n) ((v) |= (states) 1 << (n)) |