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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 5.5, 10.0, 10.1, 10.2
    • Fix Version/s: N/A
    • Component/s: Character Sets
    • Labels:
      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

              Assignee:
              bar Alexander Barkov
              Reporter:
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration