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

Wrong value returned by JsonValue() function, Connect engine

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.0(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5(EOL)
    • 10.6
    • OTHER
    • None

    Description

      MariaDB [test]> SELECT JsonValue();
      +-------------+
      | JsonValue() |
      +-------------+
      | null        |
      +-------------+
      1 row in set (0.000 sec)
       
      MariaDB [test]> SELECT JsonValue() union select NULL;
      +-------------+
      | JsonValue() |
      +-------------+
      | nu          |
      | NULL        |
      +-------------+
      2 rows in set (0.001 sec)
       
      MariaDB [test]> create view v1 as select JsonValue();
      Query OK, 0 rows affected (0.007 sec)
       
      MariaDB [test]> select * from v1;
      +-------------+
      | JsonValue() |
      +-------------+
      | nu          |
      +-------------+
      1 row in set (0.001 sec)
       
      
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            alice Alice Sherepa
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.