diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2017-03-14 15:25:02 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2017-03-14 15:25:02 +0400 |
commit | 7c7c0696e7eba3717a592c7c2c28c46af26e3e68 (patch) | |
tree | e4a34aec3eab1c63a4ffbf32c1cee96e49e6cde8 /include/json_lib.h | |
parent | a77c2ea78f76c07446a3014052cb8c3b74c4860c (diff) | |
download | mariadb-git-7c7c0696e7eba3717a592c7c2c28c46af26e3e68.tar.gz |
MDEV-11856 json_search doesn't search for values with double quotes
character (").
The my_wildcmp function doesn't expect the string parameter to
have escapements, only the template. So the string
should be unescaped if necessary.
Diffstat (limited to 'include/json_lib.h')
-rw-r--r-- | include/json_lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/json_lib.h b/include/json_lib.h index cdfcffad38a..567b04dbdc0 100644 --- a/include/json_lib.h +++ b/include/json_lib.h @@ -203,6 +203,7 @@ typedef struct st_json_engine_t enum json_value_types value_type; /* type of the value.*/ const uchar *value; /* Points to the value. */ const uchar *value_begin;/* Points to where the value starts in the JSON. */ + int value_escaped; /* Flag telling if the string value has escaping.*/ uint num_flags; /* the details of the JSON_VALUE_NUMBER, is it negative, or if it has the fractional part. See the enum json_num_flags. */ |