| Bug #119581 | FLOOR function shows inconsistent overflow handling | ||
|---|---|---|---|
| Submitted: | 20 Dec 14:54 | Modified: | 22 Dec 19:15 |
| Reporter: | mu mu | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
| Version: | 8.0.33 | OS: | Ubuntu (22.04) |
| Assigned to: | CPU Architecture: | Any | |
[20 Dec 14:54]
mu mu
[22 Dec 19:15]
Roy Lyseng
Verified as a bug. However, the problem is not related to constant values vs. column values, but rather to DECIMAL vs. DOUBLE values. FLOOR against a DECIMAL value may cause a warning, whereas FLOOR against a DOUBLE value may cause an exception.
