mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Bug#27480 (Extend CREATE TEMPORARY TABLES privilege
to allow temp table operations) -- prerequisite patch #3. Rename open_temporary_table() to open_table_uncached(). open_temporary_table() will be introduced in following patches to open temporary tables for a statement.
This commit is contained in:
@ -208,8 +208,8 @@ static bool recreate_temporary_table(THD *thd, TABLE *table)
|
||||
ha_create_table(thd, share->normalized_path.str, share->db.str,
|
||||
share->table_name.str, &create_info, 1);
|
||||
|
||||
if (open_temporary_table(thd, share->path.str, share->db.str,
|
||||
share->table_name.str, 1))
|
||||
if (open_table_uncached(thd, share->path.str, share->db.str,
|
||||
share->table_name.str, TRUE))
|
||||
{
|
||||
error= FALSE;
|
||||
thd->thread_specific_used= TRUE;
|
||||
|
Reference in New Issue
Block a user