From ec15c0dfbc0ff7de17486966a04d1749944874b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Thu, 13 Aug 2015 11:08:17 +0000 Subject: [PATCH] Bugfix: ping of backend had to wait a poll() to return --- lib/MySQL_Thread.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/MySQL_Thread.cpp b/lib/MySQL_Thread.cpp index c2eeab532..8350ddc10 100644 --- a/lib/MySQL_Thread.cpp +++ b/lib/MySQL_Thread.cpp @@ -1166,8 +1166,7 @@ void MySQL_Thread::run() { sess->status=PINGING_SERVER; myds->DSS=STATE_MARIADB_PING; register_session_connection_handler(sess,true); - - + sess->handler(); // myds->myconn->async_ping(0); // myds->myconn->async_state_machine=ASYNC_PING_START; // myds->myconn->handler(0);