1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-12877 Wrong result from JSON native function.

JSON_QUOTE return type set to be JSON.
This commit is contained in:
Alexey Botchkov
2017-09-12 19:15:31 +04:00
parent 825c8d793d
commit 80a3837283
3 changed files with 9 additions and 0 deletions

View File

@ -696,3 +696,6 @@ SET @path = "$.\"\\u00e4\"";
select @str, @path, JSON_EXTRACT(@str, @path);
@str @path JSON_EXTRACT(@str, @path)
{"\u00e4":"yes"} $."\u00e4" "yes"
select json_array(5,json_query('[1,2]','$'));
json_array(5,json_query('[1,2]','$'))
[5, [1,2]]