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

JSON_VALID( '{"a":"b","a":"c"}' ) returns 1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.2.21
    • N/A
    • JSON

    Description

      In the tested version (10.2.21), function json_valid does not check for duplicate key, and returns 1 on the invalid input

      { "a":"b", "a":"c" }

      Attachments

        Activity

          People

            Unassigned Unassigned
            m-dolev Moshe Dolev
            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.