summaryrefslogtreecommitdiff
path: root/pcre/pcre_compile.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-04-26 14:16:31 +0200
committerSergei Golubchik <serg@mariadb.org>2018-04-26 14:16:31 +0200
commit48636f09720af45454e5db1183b62a1991db8faf (patch)
treea7156567e1b193a4ad5b854ebf93518d41e35805 /pcre/pcre_compile.c
parent5ae2656b69e8a232107890aa0be517358739e997 (diff)
parentcf242aded51f1e1fb53b75911ab7e4da3af37eb4 (diff)
downloadmariadb-git-48636f09720af45454e5db1183b62a1991db8faf.tar.gz
Merge branch 'merge-pcre' into 10.0
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 1a916693e69..9b9da46f0d0 100644
--- a/pcre/pcre_compile.c
+++ b/pcre/pcre_compile.c
@@ -8063,7 +8063,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;