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

JSON_OBJECT returns null with strings containing backticks

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2.6, 10.2(EOL)
    • 10.2.9
    • JSON
    • Ubuntu 16.04 and Debian 8

    Description

      JSON_OBJECT seems to return NULL when one of its arguments is a string containing one or more backticks. This can be reproduced with:

      SELECT JSON_OBJECT('foo', '`')
      

      or

      SELECT JSON_OBJECT("foo", "bar`bar")
      

      or

      SELECT JSON_OBJECT('`', 'foo')
      

      Attachments

        Activity

          Transition Time In Source Status Execution Times
          Elena Stepanova made transition -
          Open Confirmed
          4d 11h 1m 1
          Alexey Botchkov made transition -
          Confirmed In Progress
          78d 14h 31m 1
          Alexey Botchkov made transition -
          In Progress Closed
          1h 26m 1

          People

            holyfoot Alexey Botchkov
            Guido Cella Guido Cella
            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.