summaryrefslogtreecommitdiff
path: root/pcre/pcre_compile.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-04-24 19:08:50 +0200
committerSergei Golubchik <serg@mariadb.org>2018-04-24 19:08:50 +0200
commitcf242aded51f1e1fb53b75911ab7e4da3af37eb4 (patch)
treed60624f462549d7492d3bb93ae6d9772ee9bb644 /pcre/pcre_compile.c
parentdba454ef54bfc83cc1ade93c668f39ec0a5895d3 (diff)
downloadmariadb-git-cf242aded51f1e1fb53b75911ab7e4da3af37eb4.tar.gz
8.42
Diffstat (limited to 'pcre/pcre_compile.c')
-rw-r--r--pcre/pcre_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre/pcre_compile.c b/pcre/pcre_compile.c
index 42f204cdfff..6dd88860638 100644
--- a/pcre/pcre_compile.c
+++ b/pcre/pcre_compile.c
@@ -8060,7 +8060,7 @@ for (;; ptr++)
single group (i.e. not to a duplicated name. */
HANDLE_REFERENCE:
- if (firstcharflags == REQ_UNSET) firstcharflags = REQ_NONE;
+ if (firstcharflags == REQ_UNSET) zerofirstcharflags = firstcharflags = REQ_NONE;
previous = code;
item_hwm_offset = cd->hwm - cd->start_workspace;
*code++ = ((options & PCRE_CASELESS) != 0)? OP_REFI : OP_REF;