MDEV-11857 json_search() shows "Out of memory" with empty key.

Test result updated.
This commit is contained in:
Alexey Botchkov 2017-02-09 17:55:58 +04:00
parent 777422070a
commit 3ae038b732

View File

@ -552,3 +552,6 @@ json_set('[]', '$[0][0]', 100)
SELECT json_set('[]', '$[0][0][0]', 100);
json_set('[]', '$[0][0][0]', 100)
[]
SELECT JSON_search( '{"": "a"}', "one", 'a');
JSON_search( '{"": "a"}', "one", 'a')
"$."