diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-06-21 16:02:35 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-06-21 16:02:35 +0200 |
commit | 1592fbd332373a110edcc28468cd8dc2b99271ef (patch) | |
tree | ea55441a8d982b7f1593d7fb00f0db7d63924381 /pcre/pcre_study.c | |
parent | e7591a1ba94f404a87e65554298574bfa97020f2 (diff) | |
download | mariadb-git-1592fbd332373a110edcc28468cd8dc2b99271ef.tar.gz |
8.39
Diffstat (limited to 'pcre/pcre_study.c')
-rw-r--r-- | pcre/pcre_study.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre/pcre_study.c b/pcre/pcre_study.c index 7fd0ba0b3d8..d9d4960d84e 100644 --- a/pcre/pcre_study.c +++ b/pcre/pcre_study.c @@ -1371,7 +1371,7 @@ do for (c = 0; c < 16; c++) start_bits[c] |= map[c]; for (c = 128; c < 256; c++) { - if ((map[c/8] && (1 << (c&7))) != 0) + if ((map[c/8] & (1 << (c&7))) != 0) { int d = (c >> 6) | 0xc0; /* Set bit for this starter */ start_bits[d/8] |= (1 << (d&7)); /* and then skip on to the */ |