felipe Tue Mar 4 22:31:38 2008 UTC
Modified files:
/php-src/ext/mysql php_mysql.c
Log:
MFB: Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags)
http://cvs.php.net/viewvc.cgi/php-src/ext/mysql/php_mysql.c?r1=1.253&r2=1.254&diff_format=u
Index: php-src/ext/mysql/php_mysql.c
diff -u php-src/ext/mysql/php_mysql.c:1.253 php-src/ext/mysql/php_mysql.c:1.254
--- php-src/ext/mysql/php_mysql.c:1.253 Thu Feb 28 14:16:13 2008
+++ php-src/ext/mysql/php_mysql.c Tue Mar 4 22:31:38 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_mysql.c,v 1.253 2008/02/28 14:16:13 felipe Exp $ */
+/* $Id: php_mysql.c,v 1.254 2008/03/04 22:31:38 felipe Exp $ */
/* TODO:
*
@@ -600,7 +600,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