SOURCES: mysqlcc-reconnect.patch - reconnect using mysql_ping.
arekm
arekm at pld-linux.org
Wed Feb 15 10:24:14 CET 2006
Author: arekm Date: Wed Feb 15 09:24:14 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- reconnect using mysql_ping.
---- Files affected:
SOURCES:
mysqlcc-reconnect.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/mysqlcc-reconnect.patch
diff -u SOURCES/mysqlcc-reconnect.patch:1.2 SOURCES/mysqlcc-reconnect.patch:1.3
--- SOURCES/mysqlcc-reconnect.patch:1.2 Wed Feb 15 09:38:25 2006
+++ SOURCES/mysqlcc-reconnect.patch Wed Feb 15 10:24:09 2006
@@ -8,7 +8,7 @@
+bool CMySQL::reConnect() const
+{
+ if (!isConnected() && (mysql != 0))
-+ return mysql_reconnect(mysql);
++ return mysql_ping(mysql);
+}
+
bool CMySQL::isConnected() const
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mysqlcc-reconnect.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list