[MDEV-8660] TIME(int_zerofill_column) returns a wrong result Created: 2015-08-21 Updated: 2015-09-23 Resolved: 2015-09-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Temporal Types |
| Affects Version/s: | 5.5, 10.0, 10.1 |
| Fix Version/s: | 10.1.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream-not-affected | ||
| Issue Links: |
|
||||||||
| Sprint: | 10.1.8-3 | ||||||||
| Description |
|
returns
with a warning:
The expected behavior is to return '00:00:09' for both columns, with no warnings. The same problem is repeatable with the DECIMAL data type:
More related problems:
returns:
Notice, a field and a literal produce different results for the same value. |
| Comments |
| Comment by Alexander Barkov [ 2015-09-23 ] |
|
Not repeatable in MySQL-5.7.8 |