Bug #45145 | Index is not used when an IN expression contains a single-value subquery | ||
---|---|---|---|
Submitted: | 27 May 2009 22:17 | Modified: | 5 Jun 2009 21:27 |
Reporter: | Alex Bolenok | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S5 (Performance) |
Version: | 5.2 | OS: | Windows |
Assigned to: | CPU Architecture: | Any | |
Tags: | IN, INDEX, range, subquery |
[27 May 2009 22:17]
Alex Bolenok
[4 Jun 2009 6:21]
Valeriy Kravchuk
Thank you for the problem report. Please, specify the exact version, x.y.z, you had used. I doubt it is 5.2.
[5 Jun 2009 19:32]
Alex Bolenok
SELECT VERSION(); '5.2.0-falcon-alpha-community-nt-log'
[5 Jun 2009 19:56]
Valeriy Kravchuk
This is a very old version. 5.2 became 6.0 later, so, please, check with the newer version, 6.0.11, and inform about the results.
[5 Jun 2009 21:27]
Alex Bolenok
Right, seems to be corrected in 6.0