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

json_array(false) in the definition of view return 0 instead of "true"

    XMLWordPrintable

Details

    • Bug
    • Status: Stalled (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9
    • 10.11
    • None

    Description

      In query

      select json_array(false);
      

      result is

      [false]
      

      but test with view

      create view v1 as select json_array(false);
      select * from v1;
      drop view v1;
      

      gives result:

      [0]
      

      Attachments

        Issue Links

          Activity

            People

              holyfoot Alexey Botchkov
              lstartseva Lena Startseva
              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.