Revert "dbms: Server: Fixed race condition in ConnectionPoolWithFailover. [#METR-15331]"

This reverts commit 209cf77fd6b2962b1996d254db802132ab2bd6f8.
This commit is contained in:
Alexey Milovidov 2015-03-24 03:41:03 +03:00
parent cc1887f5e3
commit b4c9ba93e8

View File

@ -91,8 +91,6 @@ private:
void applyLoadBalancing(Settings * settings)
{
Poco::ScopedLock<Poco::FastMutex> lock(mutex);
LoadBalancing load_balancing = default_load_balancing;
if (settings)
load_balancing = settings->load_balancing;