1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-17018 JSON_SEARCH and User-Defined Variables.

Item_func_json_search needs a member to store the path.
This commit is contained in:
Alexey Botchkov
2018-09-12 21:57:28 +04:00
parent c3124174c3
commit a93363022c
4 changed files with 18 additions and 2 deletions

View File

@ -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;