summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2000-09-19 16:17:19 -0600
committerunknown <sasha@mysql.sashanet.com>2000-09-19 16:17:19 -0600
commitde3381459ba56cd3b29d436ea024b716c1e3f2fb (patch)
tree3466d5a354cf2b28cebc91eeac71b03f8a42d116 /sql/mysql_priv.h
parent904655e6d2db88c0b0fa16b81b09dfd998ec6ce8 (diff)
downloadmariadb-git-de3381459ba56cd3b29d436ea024b716c1e3f2fb.tar.gz
added reopen_name_locked_table()
changed RESTORE TABLE to use name lock sql/mysql_priv.h: added reopen_name_locked_table() sql/sql_base.cc: added reopen_name_locked_table() sql/sql_table.cc: fixed repare_for_restore() to use fn_format() power changed RESTORE TABLE to use name lock
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r--sql/mysql_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index 2bf1a8f9305..f74dd0f281c 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -328,6 +328,7 @@ int mysql_delete(THD *thd,TABLE_LIST *table,COND *conds,ha_rows rows,
TABLE *open_ltable(THD *thd, TABLE_LIST *table_list, thr_lock_type update);
TABLE *open_table(THD *thd,const char *db,const char *table,const char *alias,
bool *refresh);
+TABLE *reopen_name_locked_table(THD* thd, TABLE_LIST* table);
TABLE *find_locked_table(THD *thd, const char *db,const char *table_name);
bool reopen_table(TABLE *table,bool locked=0);
bool reopen_tables(THD *thd,bool get_locks,bool in_refresh);