Bug #38165 typo: Failed reparing incompatible .FRM file
Submitted: 16 Jul 2008 9:18 Modified: 12 Sep 2008 9:52
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Errors Severity:S3 (Non-critical)
Version:all OS:Any
Assigned to: CPU Architecture:Any

[16 Jul 2008 9:18] Shane Bester
Description:
error message from a failed repair table .. use_frm
--------+----------+----------------------------------------+
 Op     | Msg_type | Msg_text                               |
--------+----------+----------------------------------------+
 repair | error    | Failed reparing incompatible .FRM file |
--------+----------+----------------------------------------+

How to repeat:
look in sql_table.cc in the function: prepare_for_repair

if (table->s->frm_version != FRM_VER_TRUE_VARCHAR)
{
  error= send_check_errmsg(thd, table_list, "repair",
                        "Failed reparing incompatible .FRM file");
goto end;
}

Suggested fix:
reword that error. we aren't repairing the .frm file anyway - we're repairing the .myi file?
[12 Sep 2008 9:52] Konstantin Osipov
Fixed by Timothy in 5.1 and 6.0, during work on a release.