mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
optimize discovery for cases when the storage engine is known in advance
This commit is contained in:
@ -269,7 +269,7 @@ static bool recreate_temporary_table(THD *thd, TABLE *table)
|
||||
dd_recreate_table(thd, share->db.str, share->table_name.str,
|
||||
share->normalized_path.str);
|
||||
|
||||
if (open_table_uncached(thd, share->path.str, share->db.str,
|
||||
if (open_table_uncached(thd, table_type, share->path.str, share->db.str,
|
||||
share->table_name.str, TRUE))
|
||||
{
|
||||
error= FALSE;
|
||||
|
Reference in New Issue
Block a user