[MDEV-4724] Some temporal functions do not preserve microseconds Created: 2013-06-27 Updated: 2013-09-16 Resolved: 2013-09-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.4, 5.5.31, 5.3.12 |
| Fix Version/s: | 10.0.5, 5.5.33 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Description |
|
The function MAKETIME() in MariaDB does not preserve fractional digits:
It works as expected in MySQL-5.6:
A possibly related problem:
The above result is wrong. More examples:
The expected column type is time(0). |
| Comments |
| Comment by Sergei Golubchik [ 2013-08-09 ] |
|
for maketime it was kind of intentional. it used to take three integers, and it still does. feel free to change it, if you'd like. the second issue is a duplicate of |
| Comment by Alexander Barkov [ 2013-09-13 ] |
|
Fixed in 5.5.31, 5.3.12 |