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

Incorrect query result

    XMLWordPrintable

Details

    Description

      Run the following statements, -3 is expected.

      CREATE TABLE t1 (c1 LONGTEXT) STATS_PERSISTENT = DEFAULT;
      INSERT INTO t1 VALUES ('03ksy');
      SELECT (MIN((LOWER((-(CAST(c1 AS BINARY))))))) FROM t1 GROUP BY c1; -- {NULL}, expected: {-3}
      

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            John Jove John Jove
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.