Commit fb3cc550 authored by unknown's avatar unknown

Fix bug in mysql_backup_table that prevented other threads from

reading while the table was being backed up.


sql/sql_table.cc:
  open_for_modify should be FALSE in mysql_backup_table
parent 85207259
......@@ -1023,7 +1023,7 @@ int mysql_backup_table(THD* thd, TABLE_LIST* table_list)
{
DBUG_ENTER("mysql_backup_table");
DBUG_RETURN(mysql_admin_table(thd, table_list, 0,
"backup", TL_READ, 1, 0, 0,
"backup", TL_READ, 0, 0, 0,
&handler::backup));
}
int mysql_restore_table(THD* thd, TABLE_LIST* table_list)
......
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