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

MDEV-11473 JSON_REMOVE returns invalid results.

Item_func_json_remove::val_str fixed.
This commit is contained in:
Alexey Botchkov
2016-12-05 07:42:00 +04:00
parent 7e03c67ae8
commit df87dce03c
2 changed files with 2 additions and 4 deletions

View File

@ -150,7 +150,7 @@ json_remove(@j, '$[0]')
[ ["b", "c"], "d"]
select json_remove(@j, '$[1]');
json_remove(@j, '$[1]')
["a" "d"]
["a", "d"]
select json_remove(@j, '$[2]');
json_remove(@j, '$[2]')
["a", ["b", "c"]]