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

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

            bar Alexander Barkov created issue -
            bar Alexander Barkov made changes -
            Field Original Value New Value
            serg Sergei Golubchik made changes -
            Affects Version/s 10.1 [ 16100 ]
            Affects Version/s 10.3 [ 22126 ]
            serg Sergei Golubchik made changes -
            Component/s Character Sets [ 10801 ]
            Component/s OTHER [ 10125 ]

            The patch for "MDEV-11146 SP variables of the SET data type erroneously allow values with comma" fixed this problem.

            bar Alexander Barkov added a comment - The patch for " MDEV-11146 SP variables of the SET data type erroneously allow values with comma" fixed this problem.
            bar Alexander Barkov made changes -
            bar Alexander Barkov made changes -
            Fix Version/s N/A [ 14700 ]
            Fix Version/s 10.3 [ 22126 ]
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 78101 ] MariaDB v4 [ 151134 ]

            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.