mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +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:
@@ -99,10 +99,9 @@ void create_table_set_open_action_and_adjust_tables(LEX *lex);
|
||||
void mysql_init_multi_delete(LEX *lex);
|
||||
bool multi_delete_set_locks_and_link_aux_tables(LEX *lex);
|
||||
void create_table_set_open_action_and_adjust_tables(LEX *lex);
|
||||
pthread_handler_t handle_bootstrap(void *arg);
|
||||
void bootstrap(MYSQL_FILE *file);
|
||||
int mysql_execute_command(THD *thd);
|
||||
bool do_command(THD *thd);
|
||||
void do_handle_bootstrap(THD *thd);
|
||||
bool dispatch_command(enum enum_server_command command, THD *thd,
|
||||
char* packet, uint packet_length,
|
||||
bool is_com_multi, bool is_next_command);
|
||||
|
Reference in New Issue
Block a user