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

'å' equals '[' in the latin1_swedish_ci collation

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 5.5(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL)
    • 10.5
    • None
    • Debian 10

    Description

      The following code outputs both rows. I think it should only output the one starting with 'å'. (Tested on 10.3.18)

      CREATE TABLE test (
        name VARCHAR(100)
      ) CHARACTER SET latin1 COLLATE latin1_swedish_ci;
       
      INSERT INTO test(name) VALUES('[hello world]');
      INSERT INTO test(name) VALUES('ålesund');
       
      SELECT * FROM test WHERE name LIKE 'å%';
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              Marek Marek Gibney
              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.