[MDEV-30043] The negative result of the bitwise operator Created: 2022-11-20 Updated: 2022-11-20 Resolved: 2022-11-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 10.9.4 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | 王瑞丰 | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
mariadb docker |
||
| Description |
|
Consider the following statements: SELECT -5 & -4; – expected: -8, actual: 18446744073709551608 The result should be negative, but it actually becomes a large value, We think this should be a spillover issue. version :10.9.4-MariaDB-1:10.9.4+maria~ubu2204 |
| Comments |
| Comment by Sergei Golubchik [ 2022-11-20 ] |