mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
MDEV-10314 : wsrep_client_thread was not set in threadpool.
Fixed threadpool_add_connection to use thd_prepare_connection() to match thread-per-conection flow.
This commit is contained in:
parent
9b668d7c8a
commit
f0386598dd
1 changed files with 1 additions and 2 deletions
|
@ -148,9 +148,8 @@ int threadpool_add_connection(THD *thd)
|
|||
|
||||
if (!setup_connection_thread_globals(thd))
|
||||
{
|
||||
if (!login_connection(thd))
|
||||
if (!thd_prepare_connection(thd))
|
||||
{
|
||||
prepare_new_connection_state(thd);
|
||||
|
||||
/*
|
||||
Check if THD is ok, as prepare_new_connection_state()
|
||||
|
|
Loading…
Reference in a new issue