From ebc55c8577be7b8b8c3d9433feb4ce457f5b6cc5 Mon Sep 17 00:00:00 2001 From: Sergey Vojtovich Date: Sun, 19 May 2019 02:10:40 +0400 Subject: Simplified away scheduler_functions::end_thread() Code properly integrated into callers instead. do_handle_one_connection(): no need to reset thd and thd->thread_stack as they're not updated by cache_thread(). Part of MDEV-19515 - Improve connect speed --- sql/sql_connect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_connect.h') diff --git a/sql/sql_connect.h b/sql/sql_connect.h index 8b574bcf385..544270189db 100644 --- a/sql/sql_connect.h +++ b/sql/sql_connect.h @@ -73,7 +73,7 @@ void free_global_index_stats(void); void free_global_client_stats(void); pthread_handler_t handle_one_connection(void *arg); -void do_handle_one_connection(CONNECT *connect); +void do_handle_one_connection(CONNECT *connect, bool put_in_cache); bool init_new_connection_handler_thread(); void reset_mqh(LEX_USER *lu, bool get_them); bool check_mqh(THD *thd, uint check_command); -- cgit v1.2.1