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 /sql/item_jsonfunc.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 'sql/item_jsonfunc.h')
-rw-r--r-- | sql/item_jsonfunc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_jsonfunc.h b/sql/item_jsonfunc.h index 535f1bf73a5..ac78ed932d5 100644 --- a/sql/item_jsonfunc.h +++ b/sql/item_jsonfunc.h @@ -392,7 +392,7 @@ public: class Item_func_json_search: public Item_json_str_multipath { protected: - String tmp_js; + String tmp_js, esc_value; bool mode_one; bool ooa_constant, ooa_parsed; int escape; |