| Bug #9188 | Corruption Can't open file: 'table.MYI' (errno: 145) | ||
|---|---|---|---|
| Submitted: | 15 Mar 2005 11:46 | Modified: | 28 Apr 2005 3:27 |
| Reporter: | Shane Bester | ||
| Status: | Closed | ||
| Category: | Server | Severity: | S1 (Critical) |
| Version: | 4.1.9, 4.1.10, 4.1.10a | OS: | Sun Solaris (Solaris 8 64-bit, Win2003) |
| Assigned to: | Ingo Strüwing | Target Version: | |
| Tags: | corruption, myisam | ||
[15 Mar 2005 11:46]
Shane Bester
[15 Mar 2005 11:53]
Shane Bester
Added steps how to reproduce.
[17 Mar 2005 11:26]
Shane Bester
Feedback on offending query.
[24 Mar 2005 17:31]
Shane Bester
More tesing
[8 Apr 2005 14:13]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/23802
[8 Apr 2005 14:28]
Ingo Strüwing
This is somewhat similar to Bug #6151. In 6151 I fixed the delete part, in 9188 the insert part. Since 4.1, keys are padded with blanks for comparison. This means that a key like 'x ' can be inserted among a couple of keys like 'x'. In cases where keys are packed, the key behind the new key needs to be recoded properly. The code was already in place, but seemingly never be tested.
[28 Apr 2005 3:27]
Paul DuBois
Noted in 4.1.12 changelog.
