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

[ERROR] mysqld: Incorrect information in file: './test/t1.frm' on "ERROR 1918 Encountered illegal value ... when converting to latin1"

    XMLWordPrintable

Details

    Description

      SET NAMES cp932;
      CREATE TABLE t1 (gc CHAR(1) GENERATED ALWAYS AS ('�')) ENGINE=InnoDB;
      

      Leads to:

      10.5.14 059a8fd87eb900a5a12185b1963e5623df874c21 (Debug)

      10.5.14-dbg>CREATE TABLE t1 (gc CHAR(1) GENERATED ALWAYS AS ('�'));
      ERROR 1918 (22007): Encountered illegal value '?�' when converting to latin1
      

      10.5.14 059a8fd87eb900a5a12185b1963e5623df874c21 (Debug)

      2022-02-08 21:04:34 4 [ERROR] mysqld: Incorrect information in file: './test/t1.frm'
      

      Proposed fix: do not allow creation of a corrupt table.

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              Roel Roel Van de Paar
              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.