diff options
author | unknown <tim@threads.polyesthetic.msg> | 2001-02-07 16:33:56 -0500 |
---|---|---|
committer | unknown <tim@threads.polyesthetic.msg> | 2001-02-07 16:33:56 -0500 |
commit | fb3cc550679f94d70b0eda5e432b59fab1ef4d51 (patch) | |
tree | 4344a13403658995fd96bc926588c20ecb44ec4a /sql/sql_table.cc | |
parent | 8520725908afde6a6e247574c9ca2d78ffb3f2c5 (diff) | |
download | mariadb-git-fb3cc550679f94d70b0eda5e432b59fab1ef4d51.tar.gz |
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
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 9e720558456..bfda0fc757b 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -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) |