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

Bad error message when creating a SET column with comma and non-ASCII characters

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL)
    • N/A
    • Character Sets
    • None

    Description

      This script being run in a Linux utf8 console:

      SET NAMES utf8;
      DROP TABLE IF EXISTS t1;
      CREATE TABLE t1 (a SET('a,bü'));
      

      returns this error message:

      ERROR 1367 (22007): Illegal set 'a,ü' value found during parsing
      

      The error message looks wrong. It should be this instead:

      ERROR 1367 (22007): Illegal set 'a,ü' value found during parsing
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.