Bug #118391 | Inconsistent BIGINT overflow behavior with unary minus operator in multiplication | ||
---|---|---|---|
Submitted: | 8 Jun 16:43 | Modified: | 9 Jun 5:25 |
Reporter: | Long Gu | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 8.4.2, 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[8 Jun 16:43]
Long Gu
[9 Jun 5:25]
MySQL Verification Team
Hello Long Gu, Thank you for the report and feedback. Verified as described. regards, Umesh
[10 Jun 12:23]
Tor Didriksen
Posted by developer: SELECT -(-(100)) * 100000000000000000; is computed as DECIMAL, hence no overflow