Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11857

json_search() shows "Out of memory" with empty key

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2
    • Fix Version/s: 10.2.4
    • Component/s: JSON
    • Labels:

      Description

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

        Attachments

          Activity

            People

            Assignee:
            holyfoot Alexey Botchkov
            Reporter:
            anikitin Andrii Nikitin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: