[MDEV-6245] Certain compressed tables with myisampack are corrupted by "CHECK TABLE" Created: 2014-05-16 Updated: 2014-05-17 Resolved: 2014-05-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.2.14, 5.3.12, 5.5.37, 10.0.11 |
| Fix Version/s: | 5.5.38, 10.0.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | Chris Calender (Inactive) | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows, Linux |
||
| Description |
|
Creating a certain table and populating it with some dummy data, then compressing that table with myisampack, and then issuing a CHECK TABLE command results in corrupting the table (tested in MariaDB 5.5.37). The same table and data does not get corrupted by CHECK TABLE in MySQL 5.5.37. Here is a reproducible test case (I pared it down as far as I could for now):
I suspect the varchar and the row_format=fixed are involved somehow. |
| Comments |
| Comment by Elena Stepanova [ 2014-05-16 ] | ||||||||||||||||
|
I can reproduce it on the top of 5.5 tree (revno 4189), but only on a non-debug build (I built with cmake . && make). MTR test case:
Please note that disable/enable abort can be removed, but then the test case will fail not on CHECK TABLE, but on myisamchk. | ||||||||||||||||
| Comment by Michael Widenius [ 2014-05-17 ] | ||||||||||||||||
|
I was able to repeat this in the latest 5.5 MariaDB version. This is now fixed and pushed into 5.5i | ||||||||||||||||
| Comment by Michael Widenius [ 2014-05-17 ] | ||||||||||||||||
|
Fixed and pushed |