Bug #40268 | Extra rows for queries with nested outer joins using join buffer | ||
---|---|---|---|
Submitted: | 22 Oct 2008 20:41 | Modified: | 22 Nov 2010 1:41 |
Reporter: | Igor Babaev | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 6.0-BKA | OS: | Any |
Assigned to: | Igor Babaev | CPU Architecture: | Any |
[22 Oct 2008 20:41]
Igor Babaev
[23 Oct 2008 4:49]
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/56862 2661 Igor Babaev 2008-10-22 Fixed bug #40268. This bug caused generation of extra rows in the result sets for some queries with nested outer joins. It could happen if the pushdown condition attached to not the last inner table of the outer join was extracted from the where clause. It happened because this pushdown condition erroneously was not checked against matching row combinations from inner tables that were not the first matches for a given partial row generated from outer tables.
[14 Dec 2008 11:07]
Bugs System
Pushed into 6.0.8-alpha (revid:igor@mysql.com-20081023045332-vzyi4wzgr67gheaa) (version source revid:igor@mysql.com-20081023045332-vzyi4wzgr67gheaa) (pib:5)
[14 Jan 2009 0:35]
Paul DuBois
Correction: This is pushed into 6.0.9.
[14 Jan 2009 0:56]
Paul DuBois
Noted in 6.0.9 changelog. The server could generate extra rows in the result set for a query with a nested outer join if the inner tables of the outer join were joined using join buffers.
[16 Aug 2010 6:31]
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:19]
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)
[22 Nov 2010 1:41]
Paul DuBois
Bug is not in any released 5.6.x version. No changelog entry needed.