summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-10-01 10:45:52 +0400
committerAlexander Barkov <bar@mariadb.com>2019-10-01 10:45:52 +0400
commitdc588e3d3fc0d3610ffb6f4e9c804dc539394669 (patch)
treeab8dc4c2ca60ca0a795377471fbfea842b21dbe2 /strings
parentf1dcbc2d9a36b00fad4acee447b5c5066725fa7b (diff)
parent7e44c455f4de82081af5089e1f77378676aa45ff (diff)
downloadmariadb-git-dc588e3d3fc0d3610ffb6f4e9c804dc539394669.tar.gz
Merge remote-tracking branch 'origin/10.3' into 10.4
Diffstat (limited to 'strings')
-rw-r--r--strings/json_lib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/strings/json_lib.c b/strings/json_lib.c
index 9ab411345c8..bb8c15ee0c1 100644
--- a/strings/json_lib.c
+++ b/strings/json_lib.c
@@ -825,6 +825,11 @@ static int skip_colon(json_engine_t *j)
static int skip_key(json_engine_t *j)
{
int t_next, c_len;
+
+ if (json_instr_chr_map[j->s.c_next] == S_BKSL &&
+ json_handle_esc(&j->s))
+ return 1;
+
while (json_read_keyname_chr(j) == 0) {}
if (j->s.error)