[MDEV-4858] Wrong results for a huge unsigned value inserted into a TIME column Created: 2013-08-08 Updated: 2014-06-04 Resolved: 2014-06-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.3, 5.5.32, 5.3.12 |
| Fix Version/s: | 5.5.38, 10.0.12, 5.3.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | compat56 | ||
| Issue Links: |
|
||||||||
| Description |
|
The expected error text is:
MySQL-5.6 is not affected. When running in a non-traditional mode, the same huge unsigned value
returns
The expected result is the maximum positive number. Comparision of TIME to a huge unsigned number also returns a wrong result:
The expected result is 0. A similar problem is observed with dynamic columns:
The result for t2 should be '-838:59:59', and a warning for both t1 and t2 should be displayed. |
| Comments |
| Comment by Alexander Barkov [ 2014-06-04 ] |
|
Pushed into 5.3 and 5.5 |