Bug #44339 | Wrong result with WHERE 1 IN (SELECT 1 FROM DUAL WHERE FALSE) | ||
---|---|---|---|
Submitted: | 17 Apr 2009 7:47 | Modified: | 10 Feb 2018 17:25 |
Reporter: | Petr Neuman | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 5.1.33, 5.0.80-bzr, 5.0.51 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[17 Apr 2009 7:47]
Petr Neuman
[17 Apr 2009 8:27]
Petr Neuman
select 1 from dual where not in (select null from (select 1 from dual) t where false) is correctly
[17 Apr 2009 13:57]
Valeriy Kravchuk
Thank you for the bug report. Verified just as described also with 5.0.80 from bzr on Linux.
[10 Feb 2018 17:25]
Roy Lyseng
Posted by developer: Fixed in 5.7.22 and up.