mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
merge of 2876.430.11 & 2876.430.1
CF_PREOPEN_TMP_TABLES & CF_HA_CLOSE & Patch for Bug#11746602 (27480: Extend CREATE TEMPORARY TABLES privilege to allow temp table operations).
This commit is contained in:
@@ -3918,10 +3918,10 @@ static TABLE *create_table_from_items(THD *thd, HA_CREATE_INFO *create_info,
|
||||
{
|
||||
/*
|
||||
This shouldn't happen as creation of temporary table should make
|
||||
it preparable for open. But let us do close_temporary_table() here
|
||||
just in case.
|
||||
it preparable for open. Anyway we can't drop temporary table if
|
||||
we are unable to find it.
|
||||
*/
|
||||
drop_temporary_table(thd, create_table, NULL);
|
||||
DBUG_ASSERT(0);
|
||||
}
|
||||
else
|
||||
table= create_table->table;
|
||||
|
Reference in New Issue
Block a user