mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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
This commit is contained in:
@ -380,14 +380,6 @@ end:
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Dummy functions, do nothing */
|
||||
|
||||
static bool tp_end_thread(THD *, bool)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static TP_pool *pool;
|
||||
|
||||
static bool tp_init()
|
||||
@ -511,7 +503,6 @@ static scheduler_functions tp_scheduler_functions=
|
||||
tp_wait_begin, // thd_wait_begin
|
||||
tp_wait_end, // thd_wait_end
|
||||
tp_post_kill_notification, // post kill notification
|
||||
tp_end_thread, // Dummy function
|
||||
tp_end // end
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user