Bug #29740 | index_merge query returns incorrect results for HEAP table | ||
---|---|---|---|
Submitted: | 12 Jul 2007 1:09 | Modified: | 27 Jul 2007 4:30 |
Reporter: | Sergey Petrunya | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0-bk, 5.2-bk | OS: | Any |
Assigned to: | Sergey Petrunya | CPU Architecture: | Any |
Tags: | heap, Memory |
[12 Jul 2007 1:09]
Sergey Petrunya
[12 Jul 2007 1:21]
MySQL Verification Team
Thank you for the bug report. Verified as described.
[12 Jul 2007 4:35]
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/30754 ChangeSet@1.2533, 2007-07-12 08:33:07+04:00, sergefp@mysql.com +4 -0 BUG#29740: Wrong query results for index_merge/union over HEAP table. - make HEAP table engine return HA_KEY_SCAN_NOT_ROR flag for both BTREE and HEAP indexes.
[13 Jul 2007 15:18]
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/30883 ChangeSet@1.2533, 2007-07-13 19:13:40+04:00, sergefp@mysql.com +4 -0 BUG#29740: Wrong query results for index_merge/union over HEAP table. - return HA_KEY_SCAN_NOT_ROR flag for HASH indexes; - Fix ha_heap::cmp_ref() to work with BTREE index scans.
[14 Jul 2007 18:06]
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/30936 ChangeSet@1.2524, 2007-07-14 22:02:10+04:00, sergefp@mysql.com +2 -0 BUG#29740: Make the test result deterministic
[20 Jul 2007 23:46]
Bugs System
Pushed into 5.1.21-beta
[20 Jul 2007 23:49]
Bugs System
Pushed into 5.0.48
[27 Jul 2007 4:30]
Paul DuBois
Noted in 5.0.48, 5.1.21 changelogs. For MEMORY tables, the index_merge union access method could return incorrect results.