[MDEV-5827] CAST(field_bit AS TIME) does not work well Created: 2014-03-11 Updated: 2023-11-28 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.1.67, 5.2.14, 5.3.12, 5.5.36, 10.0.10 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | upstream | ||
| Description |
|
The BIT field works well as a number in most cases,
returns
The expected result for CAST(a AS TIME) is '00:02:55' |
| Comments |
| Comment by Sergei Golubchik [ 2014-03-11 ] |
|
what versions are affected? |
| Comment by Elena Stepanova [ 2014-04-11 ] |
|
MySQL 5.5/5.6/5.7 are also affected (I don't know if there is a bug report about it). |