Commit f0386598 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

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.
parent 9b668d7c
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment