Skip to content

Commit

Permalink
MDEV-11857 json_search() shows "Out of memory" with empty key.
Browse files Browse the repository at this point in the history
        Test result updated.
  • Loading branch information
Alexey Botchkov committed Feb 9, 2017
1 parent 7774220 commit 3ae038b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mysql-test/r/func_json.result
Expand Up @@ -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')
"$."

0 comments on commit 3ae038b

Please sign in to comment.