[MDEV-30044] The problem of the representation of zero in the MOD function 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: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
mariadb docker |
||
| Issue Links: |
|
||||||||
| Description |
|
Consider the following statements: SELECT mod(-12,-4); – expected: 0, actual: 0 database version : 10.9.4-MariaDB-1:10.9.4+maria~ubu2204 |