Apply patch for Bug#27806 table comments not passed in to storage engine

during "CREATE ... LIKE ..."
Only affects engine writers.
No change in server behaviour.


sql/table.cc:
  Apply patch for Bug#27806 table comments not passed in to storage engine 
  during "CREATE ... LIKE ..."
This commit is contained in:
unknown 2007-08-08 14:02:07 +04:00
parent e23d7a3794
commit dea279ac8a

View File

@ -2484,6 +2484,7 @@ void update_create_info_from_table(HA_CREATE_INFO *create_info, TABLE *table)
create_info->row_type= share->row_type;
create_info->default_table_charset= share->table_charset;
create_info->table_charset= 0;
create_info->comment= share->comment;
DBUG_VOID_RETURN;
}