diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2018-09-12 21:57:28 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2018-09-12 21:57:28 +0400 |
commit | a93363022ccdb66846f2fc87b630ebdf4184b45d (patch) | |
tree | 7f3c0edb0c1e56ee25cd3edafb923afd70e60e12 /sql/item_jsonfunc.cc | |
parent | c3124174c3ec43836147003a78af5d55bd624151 (diff) | |
download | mariadb-git-a93363022ccdb66846f2fc87b630ebdf4184b45d.tar.gz |
MDEV-17018 JSON_SEARCH and User-Defined Variables.
Item_func_json_search needs a member to store the path.
Diffstat (limited to 'sql/item_jsonfunc.cc')
-rw-r--r-- | sql/item_jsonfunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_jsonfunc.cc b/sql/item_jsonfunc.cc index 1da53935441..4cb79749903 100644 --- a/sql/item_jsonfunc.cc +++ b/sql/item_jsonfunc.cc @@ -3056,7 +3056,7 @@ static int append_json_path(String *str, const json_path_t *p) String *Item_func_json_search::val_str(String *str) { String *js= args[0]->val_json(&tmp_js); - String *s_str= args[2]->val_str(&tmp_js); + String *s_str= args[2]->val_str(&tmp_path); json_engine_t je; json_path_t p, sav_path; uint n_arg; |