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

ERROR 1030 (HY000) — Got error 190 "Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine" from storage engine MyISAM

    XMLWordPrintable

Details

    • Not for Release Notes

    Description

      13.0.1-opt>CREATE TABLE t1 (id INT, a VARCHAR) ENGINE=MYISAM;
      Query OK, 0 rows affected (0.009 sec)
       
      13.0.1-opt>ALTER TABLE t1 CHANGE id id2 INT;
      Query OK, 0 rows affected (0.013 sec)
      Records: 0  Duplicates: 0  Warnings: 0
       
      13.0.1-opt>ALTER TABLE t1 ADD b INT;
      ERROR 1030 (HY000): Got error 190 "Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You can try REPAIR TABLE ... USE_FRM possibly followed by ALTER TABLE ... FORCE or dump and restore the table to fix this" from storage engine MyISAM
      13.0.1-opt>
      

      Could not reproduce the issue on ARIA or INNODB table
      MTR Test case

      CREATE TABLE t1 (id INT, a VARCHAR) ENGINE=MYISAM;
      ALTER TABLE t1 CHANGE id id2 INT;
      ALTER TABLE t1 ADD b INT;
       
      #cleanup
      DROP TABLE t1;
      

      Attachments

        Issue Links

          Activity

            People

              gkodinov Georgi Kodinov
              ramesh Ramesh Sivaraman
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.