mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
SQL: fix timestamp type for generated fields
This commit is contained in:
committed by
Aleksey Midenkov
parent
78c5d1d79c
commit
a7df730636
@ -6568,7 +6568,7 @@ static bool create_sys_trx_field_if_missing(THD *thd, const char *field_name,
|
|||||||
|
|
||||||
f->field_name= field_name;
|
f->field_name= field_name;
|
||||||
f->charset= system_charset_info;
|
f->charset= system_charset_info;
|
||||||
f->sql_type= MYSQL_TYPE_TIMESTAMP;
|
f->sql_type= MYSQL_TYPE_TIMESTAMP2;
|
||||||
f->length= 6;
|
f->length= 6;
|
||||||
f->decimals= 0;
|
f->decimals= 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user