Details

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

    Description

      MariaDB 10.2

      MariaDB [test]> SELECT JSON_EXTRACT('[10, 20, [30, 40]]', '$[1]');
      +--------------------------------------------+
      | JSON_EXTRACT('[10, 20, [30, 40]]', '$[1]') |
      +--------------------------------------------+
      | [20, [30, 40]]                             |
      +--------------------------------------------+
      1 row in set (0.00 sec)
      

      MySQL 5.7

      MySQL [test]> SELECT JSON_EXTRACT('[10, 20, [30, 40]]', '$[1]');
      +--------------------------------------------+
      | JSON_EXTRACT('[10, 20, [30, 40]]', '$[1]') |
      +--------------------------------------------+
      | 20                                         |
      +--------------------------------------------+
      1 row in set (0.00 sec)
      

      Attachments

        Issue Links

          Activity

            holyfoot Alexey Botchkov added a comment - http://lists.askmonty.org/pipermail/commits/2016-December/010334.html
            greenman Ian Gilfillan added a comment -

            This appears not to have been fixed for 10.2.3:

            MariaDB 10.2.3

            MariaDB [test]> SELECT JSON_EXTRACT('[10, 20, [30, 40]]', '$[1]');
            +--------------------------------------------+
            | JSON_EXTRACT('[10, 20, [30, 40]]', '$[1]') |
            +--------------------------------------------+
            | [20, [30, 40]]                             |
            +--------------------------------------------+
            1 row in set (0.00 sec)
            

            greenman Ian Gilfillan added a comment - This appears not to have been fixed for 10.2.3: MariaDB 10.2.3 MariaDB [test]> SELECT JSON_EXTRACT( '[10, 20, [30, 40]]' , '$[1]' ); + --------------------------------------------+ | JSON_EXTRACT( '[10, 20, [30, 40]]' , '$[1]' ) | + --------------------------------------------+ | [20, [30, 40]] | + --------------------------------------------+ 1 row in set (0.00 sec)

            anikitin, could you please take a look, maybe you've already created a new bug report about it.

            elenst Elena Stepanova added a comment - anikitin , could you please take a look, maybe you've already created a new bug report about it.

            I can confirm it is fixed in current 10.2 , and not fixed in 10.2.3
            The checkin was on 24-Dec and the latest commit in 10.2.3 seems to be on 22-Dec, so it just didn't get into it.

            anikitin Andrii Nikitin (Inactive) added a comment - I can confirm it is fixed in current 10.2 , and not fixed in 10.2.3 The checkin was on 24-Dec and the latest commit in 10.2.3 seems to be on 22-Dec, so it just didn't get into it.

            Okay, it happens, it was mislabeled. I'm changing the fix version and closing it again.

            elenst Elena Stepanova added a comment - Okay, it happens, it was mislabeled. I'm changing the fix version and closing it again.

            People

              holyfoot Alexey Botchkov
              elenst Elena Stepanova
              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.