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

simple json functions flatline cpu on garbage input

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.3.6, 10.2(EOL), 10.3(EOL)
    • 10.2.17
    • JSON
    • None
    • Win x64

    Description

      MariaDB [(none)]> select * from information_schema.processlist where user<>'system user' and id<>connection_id()\G
      *************************** 1. row ***************************
                   ID: 8
                 USER: root
                 HOST:
                   DB: test
              COMMAND: Query
                 TIME: 121
                STATE: NULL
                 INFO: do json_array(1,uuid(),compress(5.140264e+307))
              TIME_MS: 121143.104
                STAGE: 0
            MAX_STAGE: 0
             PROGRESS: 0.000
          MEMORY_USED: 76104
      MAX_MEMORY_USED: 76104
        EXAMINED_ROWS: 0
             QUERY_ID: 1
          INFO_BINARY: do json_array(1,uuid(),compress(5.140264e+307))
                  TID: 0
      1 row in set (0.002 sec)
      

      How to Repeat:

      do json_array(1,uuid(),compress(5.140264e+307));
      

      Attachments

        Activity

          People

            holyfoot Alexey Botchkov
            sbester1 sbester1
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.