Bug #68439 | Unsigned INTs underflow in case of math | ||
---|---|---|---|
Submitted: | 20 Feb 2013 2:35 | Modified: | 8 Mar 2018 23:39 |
Reporter: | Domas Mituzas | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S2 (Serious) |
Version: | 5.1 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[20 Feb 2013 2:35]
Domas Mituzas
[20 Feb 2013 2:42]
Domas Mituzas
do note, 5.6 actually allows these statements and sets values to 0 when NO_UNSIGNED_SUBSTRACTION SQL mode is set, so the mode that does not error would yield completely different end result on 5.1 and 5.6 servers. See http://bugs.mysql.com/bug.php?id=64751
[20 Feb 2013 13:36]
MySQL Verification Team
Thank you for the bug report. Verified as described.
[8 Mar 2018 23:39]
Roy Lyseng
Posted by developer: This problem does not occur on release 5.7.22 and up.