felipe Tue Mar 4 22:25:36 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src NEWS
/php-src/ext/mysql php_mysql.c
Log:
Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags)
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1105&r2=1.2027.2.547.2.1106&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1105 php-src/NEWS:1.2027.2.547.2.1106
--- php-src/NEWS:1.2027.2.547.2.1105 Tue Mar 4 19:39:08 2008
+++ php-src/NEWS Tue Mar 4 22:25:35 2008
@@ -1,6 +1,8 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? Mar 2008, PHP 5.2.6
+- Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags).
+ (Felipe)
- Fixed bug #44325 (mssql_bind not correctly bind empty strings as parameter
value). (Ilia)
- Fixed bug #44306 (Better detection of MIPS processors on Windows). (Ilia)
http://cvs.php.net/viewvc.cgi/php-src/ext/mysql/php_mysql.c?r1=1.213.2.6.2.22&r2=1.213.2.6.2.23&diff_format=u
Index: php-src/ext/mysql/php_mysql.c
diff -u php-src/ext/mysql/php_mysql.c:1.213.2.6.2.22
php-src/ext/mysql/php_mysql.c:1.213.2.6.2.23
--- php-src/ext/mysql/php_mysql.c:1.213.2.6.2.22 Tue Feb 12 20:43:50 2008
+++ php-src/ext/mysql/php_mysql.c Tue Mar 4 22:25:35 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_mysql.c,v 1.213.2.6.2.22 2008/02/12 20:43:50 johannes Exp $ */
+/* $Id: php_mysql.c,v 1.213.2.6.2.23 2008/03/04 22:25:35 felipe Exp $ */
/* TODO:
*
@@ -517,7 +517,7 @@
int user_len, passwd_len, host_len;
char *hashed_details=NULL;
int hashed_details_length, port = MYSQL_PORT;
- int client_flags = 0;
+ long client_flags = 0;
php_mysql_conn *mysql=NULL;
#if MYSQL_VERSION_ID <= 32230
void (*handler) (int);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php