[MDEV-17457] Cannot repair myisam table with mysqlcheck option --use-frm Created: 2018-10-15 Updated: 2023-04-27 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Server, Storage Engine - MyISAM |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.0.30, 10.3.9, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Christian Stern | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | myisam, repair | ||
| Environment: |
Linux or Windows server |
||
| Description |
|
With mysqlcheck -r --use-frm database table it should be possible to repair a myisam table even if the MYI file is corrupted.
|
| Comments |
| Comment by Elena Stepanova [ 2018-11-19 ] |
|
It can actually be repaired, if a table name is omitted and the operation is performed for the whole schema. The reason is that when the table name is provided, the tool issues SHOW CREATE TABLE for it (to define whether it's a view) and chokes on this failing statement. |