Bug #109912 | Bitwise operation on negative number cause some confusing results | ||
---|---|---|---|
Submitted: | 3 Feb 2023 7:05 | Modified: | 6 Feb 2023 14:45 |
Reporter: | Jiazheng Xu | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | ALL | OS: | Any |
Assigned to: | Jon Stephens | CPU Architecture: | Any |
[3 Feb 2023 7:05]
Jiazheng Xu
[6 Feb 2023 14:45]
MySQL Verification Team
Hi Mr. Xu, Thank you for your bug report. We have been able to repeat all your test cases. This behaviour simply feels wrong. This affects both 5.7 and 8.0. This is, however, a minor bug as nobody shifts bits by zero. Verified as reported.