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

Error message names json_contains instead of member function

    XMLWordPrintable

Details

    • Can result in hang or crash

    Description

      SELECT 1 MEMBER OF ('[1,2');
      

      Server version: 13.1.0-MariaDB-asan-debug-log source revision: 7dbc4bef9e3d3dda83e39065f570d97cb8cca66f

      SELECT 1 MEMBER OF ('[1,2');
      1 MEMBER OF ('[1,2')
      NULL
      Warnings:
      Warning	4037	Unexpected end of JSON text in argument 1 to function 'json_contains'
      

      Mysql returns

      Invalid JSON text in argument 2 to function member of: "Missing a comma or ']' after an array element." at position 4.
      

      JarirBob FYI

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              alice Alice Sherepa
              Daniel Black Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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