From 9fe89b6d62a0b86b32634a7db5d2c0ff5e354dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Sat, 7 Feb 2015 09:34:39 +0000 Subject: [PATCH] Temporary disabled the artificial random network failure --- lib/MySQL_Session.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/MySQL_Session.cpp b/lib/MySQL_Session.cpp index e0a38b58c..92dc59761 100644 --- a/lib/MySQL_Session.cpp +++ b/lib/MySQL_Session.cpp @@ -768,9 +768,9 @@ void MySQL_Session::handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_C void MySQL_Session::handler___client_DSS_QUERY_SENT___server_DSS_NOT_INITIALIZED__get_connection() { // Get a MySQL Connection - if (rand()%3==0) { +// if (rand()%3==0) { mybe->myconn=MyHGM->get_MyConn_from_pool(mybe->hostgroup_id); - } +// } if (mybe->myconn==NULL) { return; } mybe->myconn->myds=server_myds;