From a689a5ce054cfce7fb5060703945c0559bdcae7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Wed, 9 Nov 2016 23:36:52 +0000 Subject: [PATCH] Fix bug #774 --- lib/mysql_connection.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/mysql_connection.cpp b/lib/mysql_connection.cpp index 9dbb6ddae..56927c5e2 100644 --- a/lib/mysql_connection.cpp +++ b/lib/mysql_connection.cpp @@ -1106,6 +1106,8 @@ int MySQL_Connection::async_query(short event, char *stmt, unsigned long length, (parent->status==MYSQL_SERVER_STATUS_OFFLINE_HARD) // the server is OFFLINE as specific by the user || (parent->status==MYSQL_SERVER_STATUS_SHUNNED && parent->shunned_automatic==true && parent->shunned_and_kill_all_connections==true) // the server is SHUNNED due to a serious issue + || + (parent->status==MYSQL_SERVER_STATUS_SHUNNED_REPLICATION_LAG) // slave is lagging! see #774 ) { return -1; }