Skip to content

Commit

Permalink
Local connection cache was disabled by mistake in 2.0.14
Browse files Browse the repository at this point in the history
This recession was introduce while fixing issue #3000
  • Loading branch information
renecannao committed Sep 20, 2020
1 parent 9624993 commit d1a0c7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/MySQL_Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5867,11 +5867,11 @@ void MySQL_Session::handler___client_DSS_QUERY_SENT___server_DSS_NOT_INITIALIZED
}
uuid[n]='\0';

#ifdef STRESSTEST_POOL
#ifndef STRESSTEST_POOL
mc=thread->get_MyConn_local(mybe->hostgroup_id, this, uuid, trxid, -1);
#endif // STRESSTEST_POOL
} else {
#ifdef STRESSTEST_POOL
#ifndef STRESSTEST_POOL
mc=thread->get_MyConn_local(mybe->hostgroup_id, this, NULL, 0, (int)qpo->max_lag_ms);
#endif // STRESSTEST_POOL
}
Expand Down

0 comments on commit d1a0c7c

Please sign in to comment.