mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 00:24:30 +02:00
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
This commit is contained in:
parent
8520725908
commit
fb3cc55067
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue