From 0e1267255548898abc77cd288ac3a1b18328f6c8 2011-10-26 22:29:55 From: HanzZ Date: 2011-10-26 22:29:55 Subject: [PATCH] Show message --- diff --git a/src/mysqlbackend.cpp b/src/mysqlbackend.cpp index 97549724e5e39de4bef93f120fda9731e77aa45d..a10d89ec7ec82b49e4df5edae5cd61fdaf642342 100644 --- a/src/mysqlbackend.cpp +++ b/src/mysqlbackend.cpp @@ -78,6 +78,7 @@ using namespace log4cxx; if (ret == 0) \ exec_ok = true; \ else if (ret == 2013) { \ + LOG4CXX_INFO(logger, "MySQL connection lost. Reconnecting...");\ disconnect(); \ connect(); \ return METHOD; \