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

JSON_OVERLAPS's results are influenced by inputs order

    XMLWordPrintable

Details

    Description

      Hi,

      I found that JSON_OVERLAPS has different results under different input orders. This is an example:

      SELECT JSON_OVERLAPS('[[1,2]]','[[1]]'); -- 1
      SELECT JSON_OVERLAPS('[[1]]','[[1,2]]'); -- 0
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ChiZhang Chi Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 0d
                0d
                Remaining:
                Remaining Estimate - 0.5d
                0.5d
                Logged:
                Time Spent - Not Specified
                Not Specified

                Git Integration

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