Skip to content

Commit

Permalink
SQL: fix timestamp type for generated fields
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgs authored and midenok committed May 5, 2017
1 parent 78c5d1d commit a7df730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/handler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a7df730

Please sign in to comment.