mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Bug#27480 (Extend CREATE TEMPORARY TABLES privilege
to allow temp table operations) -- prerequisite patch #2. Introduce a new form of find_temporary_table() function: find_temporary_table() by a table key. It will be used in further patches. Replace find_temporary_table(table_list->db, table_list->name) by more appropiate find_temporary_table(table_list) across the codebase.
This commit is contained in:
@@ -2008,7 +2008,7 @@ int mysql_rm_table_part2(THD *thd, TABLE_LIST *tables, bool if_exists,
|
||||
{
|
||||
for (table= tables; table; table= table->next_local)
|
||||
if (table->open_type != OT_BASE_ONLY &&
|
||||
find_temporary_table(thd, table->db, table->table_name))
|
||||
find_temporary_table(thd, table))
|
||||
{
|
||||
/*
|
||||
A temporary table.
|
||||
|
||||
Reference in New Issue
Block a user