Bug #79114 | IF(bool, date str, date str) throws ERROR in UPDATE | ||
---|---|---|---|
Submitted: | 4 Nov 2015 7:53 | Modified: | 18 Nov 2015 18:24 |
Reporter: | Su Dylan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 5.7.8, 5.7.9 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[4 Nov 2015 7:53]
Su Dylan
[4 Nov 2015 8:23]
MySQL Verification Team
Hello Su Dylan, Thank you for the report and test case. Verified as described with 5.7.9. Thanks, Umesh
[18 Nov 2015 18:24]
Paul DuBois
Noted in 5.8.0 changelog. The optimizer failed when trying to optimize away expressions of the form IF(true, '2015-01-01', '2015-01-01') IS NOT NULL.