mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
cleanup: init_tmp_table_share(bool thread_specific)
let the caller tell init_tmp_table_share() whether the table should be thread_specific or not. In particular, internal tmp tables created in the slave thread are perfectly thread specific
This commit is contained in:
@ -4640,7 +4640,7 @@ TABLE *select_create::create_table_from_items(THD *thd, List<Item> *items,
|
||||
DBUG_ENTER("select_create::create_table_from_items");
|
||||
|
||||
tmp_table.s= &share;
|
||||
init_tmp_table_share(thd, &share, "", 0, "", "");
|
||||
init_tmp_table_share(thd, &share, "", 0, "", "", true);
|
||||
|
||||
tmp_table.s->db_create_options=0;
|
||||
tmp_table.null_row= 0;
|
||||
|
Reference in New Issue
Block a user