| Bug #31464 | Test subselect2 Fails in 5.2-opt tree | ||
|---|---|---|---|
| Submitted: | 8 Oct 2007 19:30 | Modified: | 22 Nov 2010 1:12 |
| Reporter: | Sergey Petrunya | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
| Version: | 5.2-opt bk | OS: | Any |
| Assigned to: | Sergey Petrunya | CPU Architecture: | Any |
| Tags: | semi-join, subquery | ||
[8 Oct 2007 19:30]
Sergey Petrunya
[12 Oct 2007 12:48]
Sergey Petrunya
Investigation results: 1. All of the subquery tables should have been pulled out with table pull-out strategy. However, this doesn't happen, neither on machines that pass the test, nor on the machines that fail it. Non-working table pull-out will be addressed separately as BUG#31563. 2. However, even if table pull-out didn't work at all, the query's EXPLAIN should have been the same on all platforms. So far I can only tell the difference is in the cost calculations. Will continue to work to find out what exactly causes the difference.
[1 May 2008 22:38]
Sergey Petrunya
Ok, now pullout works and correctly flattens all subqueries into inner joins. We've also fixed several bugs dealing with uninitialized memory reads so I think the case can be closed for now.
[1 May 2008 22:42]
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/46277 ChangeSet@1.2633, 2008-05-02 02:41:35+04:00, sergefp@mysql.com +3 -0 BUG#31464: Test subselect2 Fails in 5.2-opt tree - Update the test result with new QEP after BUG#31563 is fixed
[28 May 2008 10:01]
Bugs System
Pushed into 6.0.6-alpha
[29 May 2008 3:25]
Paul DuBois
Test case change. No changelog entry needed.
[16 Aug 2010 6:32]
Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100816062819-bluwgdq8q4xysmlg) (version source revid:alik@sun.com-20100816062612-enatdwnv809iw3s9) (pib:20)
[13 Nov 2010 16:10]
Bugs System
Pushed into mysql-trunk 5.6.99-m5 (revid:alexander.nozdrin@oracle.com-20101113155825-czmva9kg4n31anmu) (version source revid:vasil.dimov@oracle.com-20100629074804-359l9m9gniauxr94) (merge vers: 5.6.99-m4) (pib:21)
