mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
Avoid caching wsrep threads (fixed the erroneous condition).
This commit is contained in:
@@ -3049,7 +3049,7 @@ bool one_thread_per_connection_end(THD *thd, bool put_in_cache)
|
||||
set_current_thd(0);
|
||||
|
||||
#ifdef WITH_WSREP
|
||||
if (put_in_cache && cache_thread() && !wsrep_applier)
|
||||
if (!wsrep_applier && put_in_cache && cache_thread())
|
||||
#else
|
||||
if (put_in_cache && cache_thread())
|
||||
#endif /* WITH_WSREP */
|
||||
|
Reference in New Issue
Block a user