felipe Tue Mar 4 22:29:29 2008 UTC
Modified files: (Branch: PHP_5_3)
/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.213.2.6.2.16.2.11&r2=1.213.2.6.2.16.2.12&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.16.2.11
php-src/ext/mysql/php_mysql.c:1.213.2.6.2.16.2.12
--- php-src/ext/mysql/php_mysql.c:1.213.2.6.2.16.2.11 Sat Feb 23 17:06:21 2008
+++ php-src/ext/mysql/php_mysql.c Tue Mar 4 22:29:29 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_mysql.c,v 1.213.2.6.2.16.2.11 2008/02/23 17:06:21 helly Exp $ */
+/* $Id: php_mysql.c,v 1.213.2.6.2.16.2.12 2008/03/04 22:29:29 felipe Exp $ */
/* TODO:
*
@@ -604,7 +604,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