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

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

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2(EOL)
    • 10.2.4
    • JSON

    Description

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

      Attachments

        Activity

          anikitin Andrii Nikitin (Inactive) created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Description MariaDB [test]> SELECT JSON_search( '{"": "a"}', "one", 'a');
          ERROR 5 (HY000): Out of memory (Needed 3085147928 bytes)
          {code:sql}
          MariaDB [test]> SELECT JSON_search( '{"": "a"}', "one", 'a');
          ERROR 5 (HY000): Out of memory (Needed 3085147928 bytes)
          {code}
          elenst Elena Stepanova made changes -
          Fix Version/s 10.2 [ 14601 ]
          elenst Elena Stepanova made changes -
          Labels 10.2-rc
          holyfoot Alexey Botchkov made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          holyfoot Alexey Botchkov added a comment - http://lists.askmonty.org/pipermail/commits/2017-February/010655.html
          holyfoot Alexey Botchkov made changes -
          issue.field.resolutiondate 2017-02-09 13:58:29.0 2017-02-09 13:58:29.464
          holyfoot Alexey Botchkov made changes -
          Fix Version/s 10.2.4 [ 22116 ]
          Fix Version/s 10.2 [ 14601 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 79301 ] MariaDB v4 [ 151569 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.