SOURCES: php-pecl-session_mysql-reconnect.patch - inversed mysql_p...

glen glen at pld-linux.org
Thu Aug 30 12:36:38 CEST 2007


Author: glen                         Date: Thu Aug 30 10:36:38 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- inversed mysql_ping() check

---- Files affected:
SOURCES:
   php-pecl-session_mysql-reconnect.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/php-pecl-session_mysql-reconnect.patch
diff -u SOURCES/php-pecl-session_mysql-reconnect.patch:1.2 SOURCES/php-pecl-session_mysql-reconnect.patch:1.3
--- SOURCES/php-pecl-session_mysql-reconnect.patch:1.2	Wed Aug 29 18:42:05 2007
+++ SOURCES/php-pecl-session_mysql-reconnect.patch	Thu Aug 30 12:36:32 2007
@@ -1,5 +1,5 @@
---- session_mysql-1.9/session_mysql.c	2007-08-29 19:35:20.209370945 +0300
-+++ session_mysql-1.9-reconnect/session_mysql.c	2007-08-29 19:35:53.222688544 +0300
+--- session_mysql-1.9-reconnect/session_mysql.c	2007-08-29 19:35:53.222688544 +0300
++++ session_mysql-1.9-reconnect/session_mysql.c	2007-08-30 13:29:10.614270156 +0300
 @@ -8,6 +8,15 @@
  
  #include "ext/session/php_session.h"
@@ -73,7 +73,7 @@
  		}
  	}
 +	
-+	if (mysql_ping(SESSION_MYSQL_G(mysql))) {
++	if (mysql_ping(SESSION_MYSQL_G(mysql)) == 0) {
 +		return SUCCESS;
 +	}
 +
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/php-pecl-session_mysql-reconnect.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list