summaryrefslogtreecommitdiff
path: root/sql/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/lock.h')
-rw-r--r--sql/lock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/lock.h b/sql/lock.h
index 4bdf0085d07..0083dd3ba18 100644
--- a/sql/lock.h
+++ b/sql/lock.h
@@ -62,8 +62,7 @@ bool mysql_lock_abort_for_thread(THD *thd, TABLE *table);
MYSQL_LOCK *mysql_lock_merge(MYSQL_LOCK *a,MYSQL_LOCK *b);
void broadcast_refresh(void);
/* Lock based on name */
-bool lock_table_names(THD *thd, TABLE_LIST *table_list);
-void unlock_table_names(THD *thd);
+bool lock_schema_name(THD *thd, const char *db);
/* Lock based on stored routine name */
bool lock_routine_name(THD *thd, bool is_function, const char *db,
const char *name);