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, 10.1, 10.2, 10.3, 10.4, 10.5
    • 10.4, 10.5
    • 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.