Bug #29957 | alter_table.test fails | ||
---|---|---|---|
Submitted: | 22 Jul 2007 12:16 | Modified: | 30 Jul 2007 19:22 |
Reporter: | Ingo Strüwing | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: General | Severity: | S2 (Serious) |
Version: | 5.1.21, 5.2.5 | OS: | Windows |
Assigned to: | Sergey Vojtovich | CPU Architecture: | Any |
Tags: | pbfail |
[22 Jul 2007 12:16]
Ingo Strüwing
[23 Jul 2007 9:24]
Sergey Vojtovich
Stealing this one, as it was likely caused by my fix.
[23 Jul 2007 9:35]
Ingo Strüwing
Ah yes, it does also fail in 5.1.
[26 Jul 2007 11:21]
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/commits/31610 ChangeSet@1.2531, 2007-07-26 15:24:09+05:00, svoj@mysql.com +3 -0 BUG#29957 - alter_table.test fails INSERT/DELETE/UPDATE followed by ALTER TABLE within LOCK TABLES may cause table corruption on Windows. That happens because ALTER TABLE writes outdated shared state info into index file. Fixed by updating shared state info prior to actually writing it to disk. Affects MyISAM tables on Windows only.
[27 Jul 2007 10:28]
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/commits/31686 ChangeSet@1.2531, 2007-07-27 14:30:25+05:00, svoj@mysql.com +3 -0 BUG#29957 - alter_table.test fails INSERT/DELETE/UPDATE followed by ALTER TABLE within LOCK TABLES may cause table corruption on Windows. That happens because ALTER TABLE writes outdated shared state info into index file. Fixed by removing obsolete workaround. Affects MyISAM tables on Windows only.
[27 Jul 2007 16:48]
Bugs System
Pushed into 5.1.21-beta
[27 Jul 2007 16:50]
Bugs System
Pushed into 5.0.48
[30 Jul 2007 19:22]
Paul DuBois
Noted in 5.0.48, 5.1.21 changelogs. For MyISAM tables on Windows, INSERT, DELETE, or UPDATE followed by ALTER TABLE within LOCK TABLES could cause table corruption.