Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.0.3, 5.5.32, 5.3.12
-
None
-
None
Description
This script
drop table if exists t1; |
create table t1 as select timestamp('2001-01-01','10:10:10') as a; |
show columns from t1; |
creates a VARCHAR(26) column:
+-------+-------------+------+-----+---------+-------+
|
| Field | Type | Null | Key | Default | Extra |
|
+-------+-------------+------+-----+---------+-------+
|
| a | varchar(26) | YES | | NULL | |
|
+-------+-------------+------+-----+---------+-------+
|
The expected result is a DATETIME column.
Note: MySQL-5.6 correctly creates a DATETIME column in this scenario.
Attachments
Issue Links
- is blocked by
-
MDEV-4724 Some temporal functions do not preserve microseconds
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Affects Version/s | 5.3.12 [ 12000 ] | |
Affects Version/s | 5.5.32 [ 13000 ] | |
Affects Version/s | 10.0.3 [ 12900 ] |
Fix Version/s | 10.0.5 [ 13201 ] | |
Fix Version/s | 5.5.33 [ 13300 ] | |
Fix Version/s | 5.3.13 [ 12602 ] |
Priority | Major [ 3 ] | Minor [ 4 ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | defaullt [ 28327 ] | MariaDB v2 [ 44209 ] |
Workflow | MariaDB v2 [ 44209 ] | MariaDB v3 [ 63494 ] |
Workflow | MariaDB v3 [ 63494 ] | MariaDB v4 [ 146901 ] |