1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

BUG#14480: post-fix: use the default field value from CREATE list too.

This commit is contained in:
unknown
2005-11-09 09:34:46 +03:00
parent 224e85536e
commit f76ff56512
3 changed files with 19 additions and 0 deletions

View File

@ -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 :