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

quote(NULL) returns incorrect result in view ('NU' instead of 'NULL')

    XMLWordPrintable

Details

    Description

      Test:

      create view v1 as select quote(NULL);
      select * from v1;
      drop view v1;
      

      Actual result:

      NU
      

      Expected result:

      NULL
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              lstartseva Lena Startseva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m

                  Git Integration

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