1
0
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:
Kosov Eugene
2016-10-04 15:56:06 +03:00
committed by Aleksey Midenkov
parent 78c5d1d79c
commit a7df730636

View File

@ -6568,7 +6568,7 @@ static bool create_sys_trx_field_if_missing(THD *thd, const char *field_name,
f->field_name= field_name;
f->charset= system_charset_info;
f->sql_type= MYSQL_TYPE_TIMESTAMP;
f->sql_type= MYSQL_TYPE_TIMESTAMP2;
f->length= 6;
f->decimals= 0;