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

JSON_ARRAY() does not recognise JSON argument.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2, 10.3, 10.4
    • Fix Version/s: 10.2.24
    • Component/s: JSON
    • Labels:
      None
    • Environment:
      any

      Description

      MariaDB [test]> SELECT  json_array(json_object(), json_object(_latin1 'plugin', _latin1'unix_socket'));                         +--------------------------------------------------------------------------------+
      | json_array(json_object(), json_object(_latin1 'plugin', _latin1'unix_socket')) |
      +--------------------------------------------------------------------------------+
      | [{}, "{\"plugin\": \"unix_socket\"}"]                                          |
      +--------------------------------------------------------------------------------+
      1 row in set (0.00 sec)
      

        Attachments

          Activity

            People

            • Assignee:
              holyfoot Alexey Botchkov
              Reporter:
              holyfoot Alexey Botchkov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: