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

Inconsistent results of DISTINCT with NOPAD

    XMLWordPrintable

Details

    Description

      CREATE OR REPLACE TABLE t1 (c CHAR(100) COLLATE utf8mb3_unicode_nopad_ci);
      INSERT INTO t1 VALUES ('ss'),('ß');
      SET big_tables=0;
      SELECT DISTINCT c FROM t1;
      

      +------+
      | c    |
      +------+
      | ss   |
      | ß    |
      +------+
      

      SET big_tables=1;
      SELECT DISTINCT c FROM t1;
      

      +------+
      | c    |
      +------+
      | ss   |
      +------+
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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