Bug #77391 | Round function incorrect in where-clause using local variable | ||
---|---|---|---|
Submitted: | 17 Jun 2015 15:52 | Modified: | 21 Jul 2015 17:39 |
Reporter: | Lars Winderling | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 5.6.21, 5.6.25, 5.6.26, 5.5.45, 5.7.8 | OS: | Linux (ubuntu 14.04) |
Assigned to: | Tor Didriksen | CPU Architecture: | Any |
[17 Jun 2015 15:52]
Lars Winderling
[18 Jun 2015 10:30]
MySQL Verification Team
Hello Lars Winderling, Thank you for the report and test case. Thanks, Umesh
[21 Jul 2015 17:39]
Paul DuBois
Noted in 5.7.9, 5.8.0 changelogs. A predicate of the form WHERE ROUND(X,Y) > 0, where X is a column name and Y is a program local variable, could return false when it should return true.