[MDEV-11857] json_search() shows "Out of memory" with empty key Created: 2017-01-20  Updated: 2017-02-09  Resolved: 2017-02-09

Status: Closed
Project: MariaDB Server
Component/s: JSON
Affects Version/s: 10.2
Fix Version/s: 10.2.4

Type: Bug Priority: Major
Reporter: Andrii Nikitin (Inactive) Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: 10.2-rc


 Description   

MariaDB [test]> SELECT JSON_search( '{"": "a"}', "one", 'a');
ERROR 5 (HY000): Out of memory (Needed 3085147928 bytes)



 Comments   
Comment by Alexey Botchkov [ 2017-02-09 ]

http://lists.askmonty.org/pipermail/commits/2017-February/010655.html

Generated at Thu Feb 08 07:53:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.