Bug #30741 | REPAIR TABLE doesn't work anymore | ||
---|---|---|---|
Submitted: | 31 Aug 2007 6:58 | Modified: | 4 Sep 2007 21:00 |
Reporter: | jocelyn fournier (Silver Quality Contributor) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.1.20-beta, 6.0-falcon | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | qc |
[31 Aug 2007 6:58]
jocelyn fournier
[31 Aug 2007 10:55]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php You corrupted index file. This is USE_FRM supposed to help. See also http://dev.mysql.com/doc/refman/5.1/en/repair-table.html Additionally I can not repeat described behaviour if remove bytes from the end of file in my environment.
[31 Aug 2007 18:55]
jocelyn fournier
Hi, In my case I didn't corrupt the header in the MYI file (I actually removed one byte at the end of the file with vi), so the REPAIR TABLE should works correctly. Moreover 5.1.19-beta is working properly and properly repair the table. I can upload the corrupted table files if you need them. Regards, Jocelyn
[31 Aug 2007 22:08]
Sveta Smirnova
Thank you for the feedback. As I indicated before I can not repeat escribed behaviour if I remove last byte[s] using vim. So, please, upload corrupted table.
[4 Sep 2007 19:48]
jocelyn fournier
Hi, Actually you are right, I messed up the initial file, I didn't notice I wasn't deleting the very latest bytes of the index index. This bug can be closed, sorry. Regards, Jocelyn
[4 Sep 2007 21:00]
Sveta Smirnova
Thank you for the feedback. The bug is closed again.