1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Merge myoffice.izhnet.ru:/usr/home/gluh/MySQL/tmp_merge

into  myoffice.izhnet.ru:/usr/home/gluh/MySQL/5.1
This commit is contained in:
gluh@myoffice.izhnet.ru
2006-07-18 18:43:55 +05:00
17 changed files with 377 additions and 70 deletions

View File

@ -5479,8 +5479,11 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
goto err;
}
create_info->db_type=new_db_type;
if (!create_info->comment)
create_info->comment= table->s->comment;
if (!create_info->comment.str)
{
create_info->comment.str= table->s->comment.str;
create_info->comment.length= table->s->comment.length;
}
table->file->update_create_info(create_info);
if ((create_info->table_options &