Bug #74403 | Wrong result from query when semijoin optimization is disabled | ||
---|---|---|---|
Submitted: | 15 Oct 2014 13:23 | Modified: | 23 Nov 2015 16:44 |
Reporter: | Knut Anders Hatlen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 5.6.21 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[15 Oct 2014 13:23]
Knut Anders Hatlen
[23 Nov 2015 16:44]
Paul DuBois
Noted in 5.7.11, 5.8.0 changelogs. IN-to-EXISTS subquery transformation could yield incorrect results for queries for which the table was nonempty, the subquery on the left side of the IN predicate produced an empty result, and semi-join optimization was disabled.