Commit a7df7306 authored by Kosov Eugene's avatar Kosov Eugene Committed by Aleksey Midenkov

SQL: fix timestamp type for generated fields

parent 78c5d1d7
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment