Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Duplicate
-
10.9.4
-
None
-
mariadb docker
Description
Consider the following statements:
SELECT mod(-12,-4); – expected: 0, actual: 0
SELECT mod('-12',-4); – expected: 0, actual: -0
the result of these two test cases is different, We expect them to be the same.
database version : 10.9.4-MariaDB-1:10.9.4+maria~ubu2204
Attachments
Issue Links
- duplicates
-
MDEV-6856 <negative value> MOD <fractional divisor> returns negative zero
- Open