Details
-
Type:
Bug
-
Status: Closed
-
Resolution: Not a Bug
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
Description
The length of TIME column is reported as 9 in this 5.1-micro, but 8 otherwise.
To reproduce,
mysql -uroot -e "select time('01:01:01')"
It reports :
Field 1: `time('01:01:01')`
Catalog: `def`
Database: ``
Table: ``
Org_table: ``
Type: TIME
Collation: binary (63)
Length: 9
Max_length: 8
Decimals: 31
Flags: BINARY
Length field should be 8, not 9
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Re: 5.1-micro length of TIME datatype is wrong
Sorry, the correct command to reproduce is of course
mysql -uroot -e "select time('01:01:01')" --column-type-info
I forgot --column-type-info when in the description.