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:
@ -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;
|
||||
|
Reference in New Issue
Block a user