Show message
This commit is contained in:
parent
343349cea6
commit
0e12672555
1 changed files with 1 additions and 0 deletions
|
@ -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; \
|
||||
|
|
Loading…
Add table
Reference in a new issue