Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5.34
-
None
-
None
Description
Copying host.frm from and old system to MariaDB gave the following error one access, check or repair:
Incorrect key file for table 'host'; try to repair it
This error doesn't tell what is wrong or how to fix it.
I have fixed this by adding a new handler error message when the .frm and storage engine definition differs:
Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump and restore the table to fix this
In addition I fixed that REPAIR TABLE .. USE_FRM will fix old tables with same storage format between versions (no VARCHAR fields).