Bug #21617 | crash when selecting from merge table with inconsistent indexes | ||
---|---|---|---|
Submitted: | 14 Aug 2006 10:18 | Modified: | 4 Oct 2006 18:54 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Merge storage engine | Severity: | S1 (Critical) |
Version: | 5.0.24 | OS: | Any (*) |
Assigned to: | Sergey Vojtovich | CPU Architecture: | Any |
Tags: | crash, merge |
[14 Aug 2006 10:18]
Shane Bester
[23 Aug 2006 16:06]
Sergey Vojtovich
This bug is a duplicate of bug#457.
[19 Sep 2006 18:22]
Sergey Vojtovich
Reopened to address a crash when there are less keys in underlying table than in merge table problem.
[19 Sep 2006 21:17]
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/12239 ChangeSet@1.2548, 2006-09-20 02:14:19+05:00, svoj@mysql.com +4 -0 BUG#21617 - crash when selecting from merge table with inconsistent indexes Crash may happen when selecting from a merge table that has underlying tables with less indexes than in a merge table itself. If number of keys in merge table is not bigger than requested key number, return error. Note that this problem is fixed partially. Crash could still happen since in current implementation number of keys is actually number of keys in last underlying table. Further fix will be delivered with patch for bug457.
[28 Sep 2006 17:08]
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/12745 ChangeSet@1.2548, 2006-09-28 22:10:06+05:00, svoj@mysql.com +5 -0 BUG#21617 - crash when selecting from merge table with inconsistent indexes Crash may happen when selecting from a merge table that has underlying tables with less indexes than in a merge table itself. If number of keys in merge table is not bigger than requested key number, return error.
[3 Oct 2006 8:52]
Sergey Vojtovich
Fixed in 4.1.22, 5.0.26, 5.1.12.
[4 Oct 2006 18:54]
Paul DuBois
Noted in 4.1.22, 5.0.26, 5.1.12 changelogs.