Commit e42312c0 authored by gbichot@quadita2.mysql.com's avatar gbichot@quadita2.mysql.com

Merge gbichot@bk-internal.mysql.com://home/bk/mysql-4.1

into quadita2.mysql.com:/nfstmp1/guilhem/mysql-4.1-4ita
parents d07945c2 c7c928f1
......@@ -2041,7 +2041,9 @@ static int mysql_admin_table(THD* thd, TABLE_LIST* tables,
close_thread_tables(thd);
TABLE_LIST *save_next= table->next;
table->next= 0;
tmp_disable_binlog(thd); // binlogging is done by caller if wanted
result_code= mysql_recreate_table(thd, table, 0);
reenable_binlog(thd);
close_thread_tables(thd);
if (!result_code) // recreation went ok
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment