Bug #67680 | Data overflow in simple operation with unsigned int field | ||
---|---|---|---|
Submitted: | 22 Nov 2012 22:15 | Modified: | 23 Nov 2012 17:42 |
Reporter: | thomas schubarth | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S3 (Non-critical) |
Version: | 5.1.63-nmm1-log | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | mathematical operation, unsigned int |
[22 Nov 2012 22:15]
thomas schubarth
[23 Nov 2012 7:57]
Valeriy Kravchuk
This is probably not a bug. Please, read the manual, http://dev.mysql.com/doc/refman/5.1/en/out-of-range-and-overflow.html: "Subtraction between integer values, where one is of type UNSIGNED, produces an unsigned result by default." Then you probably have strict SQL mode enable, hence the error.
[23 Nov 2012 17:42]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Valeriy is correct: this is not a bug