mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Execute bootstrap in main thread
Bootstrap in a separate thread was introduced in 746f0b3b7
to workaround
OS/2 small stack size. OS/2 support was discontinued in 2006 and modern
operating systems have default stack size a few times larger than
default thread_stack and it is tunable.
Aim is to reduce usage of LOCK_thread_count and COND_thread_count.
Part of MDEV-15135.
This commit is contained in:
@@ -2104,7 +2104,7 @@ bool mysql_rm_table(THD *thd,TABLE_LIST *tables, bool if_exists,
|
||||
}
|
||||
}
|
||||
/* We remove statistics for table last, after we have the DDL lock */
|
||||
if (!in_bootstrap)
|
||||
if (!thd->bootstrap)
|
||||
{
|
||||
for (table= tables; table; table= table->next_local)
|
||||
{
|
||||
|
Reference in New Issue
Block a user