diff -Naru ./mysql-5.1.36/sql/sql_table.cc ./mysql-5.1.36-spider/sql/sql_table.cc --- ./mysql-5.1.36/sql/sql_table.cc 2009-06-16 21:29:55.000000000 +0900 +++ ./mysql-5.1.36-spider/sql/sql_table.cc 2009-07-29 02:59:54.000000000 +0900 @@ -6179,6 +6179,11 @@ create_info->comment.str= table->s->comment.str; create_info->comment.length= table->s->comment.length; } + if (!create_info->connect_string.str) + { + create_info->connect_string.str= table->s->connect_string.str; + create_info->connect_string.length= table->s->connect_string.length; + } table->file->update_create_info(create_info); if ((create_info->table_options & diff -Naru ./mysql-5.1.36/sql/table.cc ./mysql-5.1.36-spider/sql/table.cc --- ./mysql-5.1.36/sql/table.cc 2009-06-16 21:29:56.000000000 +0900 +++ ./mysql-5.1.36-spider/sql/table.cc 2009-07-29 03:00:24.000000000 +0900 @@ -2545,6 +2545,7 @@ create_info->default_table_charset= share->table_charset; create_info->table_charset= 0; create_info->comment= share->comment; + create_info->connect_string= share->connect_string; DBUG_VOID_RETURN; }