Bug #55198 | Optimizer fails to evaluate an impossible condition | ||
---|---|---|---|
Submitted: | 12 Jul 2010 23:00 | Modified: | 14 Jul 2010 7:46 |
Reporter: | Gerry Narvaja | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 5.1.47 | OS: | Linux (Linux <hostname> 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:21:56 EDT 2009 x86_6) |
Assigned to: | CPU Architecture: | Any | |
Tags: | dates, Optimizer, SELECT |
[12 Jul 2010 23:00]
Gerry Narvaja
[12 Jul 2010 23:00]
Gerry Narvaja
mysqldump of the data needed to reproduce the bug
Attachment: test_data.sql (text/x-sql), 5.93 KiB.
[13 Jul 2010 5:24]
James Day
Initially it looks as though this might be bug #53334 (duplicated by bug #54609) that is fixed in 5.1.48.
[13 Jul 2010 6:18]
Sveta Smirnova
Thank you for the report. Both queries return "Impossible WHERE noticed after reading const tables " in my environment, so for me it looks like James's assumption is correct. Please try version 5.1.48 in your environment so we can confirm bug is fixed.
[14 Jul 2010 7:46]
James Day
This is a duplicate of bug #54609. Confirmed that an upgrade to version 5.1.48 fixed the problem.