mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
BUG#14480: post-fix: use the default field value from CREATE list too.
This commit is contained in:
@ -639,6 +639,7 @@ int mysql_prepare_table(THD *thd, HA_CREATE_INFO *create_info,
|
||||
else
|
||||
{
|
||||
/* Field redefined */
|
||||
sql_field->def= dup_field->def;
|
||||
sql_field->sql_type= dup_field->sql_type;
|
||||
sql_field->charset= (dup_field->charset ?
|
||||
dup_field->charset :
|
||||
|
Reference in New Issue
Block a user