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

Wrong value returned by JsonValue() function, Connect engine

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.0, 10.1, 10.2, 10.3, 10.4, 10.5
    • Fix Version/s: 10.2, 10.3, 10.4, 10.5
    • Component/s: OTHER
    • Labels:
      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

            Assignee:
            serg Sergei Golubchik
            Reporter:
            alice Alice Sherepa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration