mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
merge from 4.1
sql/sql_table.cc: merge
This commit is contained in:
@ -2225,7 +2225,9 @@ send_result_message:
|
|||||||
TABLE_LIST *save_next_local= table->next_local,
|
TABLE_LIST *save_next_local= table->next_local,
|
||||||
*save_next_global= table->next_global;
|
*save_next_global= table->next_global;
|
||||||
table->next_local= table->next_global= 0;
|
table->next_local= table->next_global= 0;
|
||||||
|
tmp_disable_binlog(thd); // binlogging is done by caller if wanted
|
||||||
result_code= mysql_recreate_table(thd, table, 0);
|
result_code= mysql_recreate_table(thd, table, 0);
|
||||||
|
reenable_binlog(thd);
|
||||||
close_thread_tables(thd);
|
close_thread_tables(thd);
|
||||||
if (!result_code) // recreation went ok
|
if (!result_code) // recreation went ok
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user