[MDEV-4868] Length of CURRENT_TIME is too long. Created: 2013-08-09 Updated: 2022-09-08 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.3.12, 5.5.36, 10.0.10 |
| Fix Version/s: | 5.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
CURRENT_TIME is limited to positive time in the range For this script:
MariaDB 5.1 and 5.3 correctly returned length 8
MariaDB 5.5 and 10.0 return wrong length (but correct data type varchar):
MySQL 5.5 and 5.6 return both type and length correctly:
|
| Comments |
| Comment by Elena Stepanova [ 2014-04-11 ] |
|
Actually, 5.1 and 5.2 return varbinary(8); 5.3 returns varbinary(10); 5.5 and 10.0 returns varchar(10). |