summaryrefslogtreecommitdiff
path: root/ext/mysql
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-03-04 22:31:38 +0000
committerFelipe Pena <felipe@php.net>2008-03-04 22:31:38 +0000
commite3ca51413cce10d8b4b6ec54334aaf8b6a1c2829 (patch)
tree04ac4d832e8891d9347b7e3bbb50d66528d7283a /ext/mysql
parent2da1432d752dff5d7eb8a5313673b518d7465b88 (diff)
downloadphp-git-e3ca51413cce10d8b4b6ec54334aaf8b6a1c2829.tar.gz
MFB: Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags)
Diffstat (limited to 'ext/mysql')
-rw-r--r--ext/mysql/php_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index ad26fdd972..d1f334c7b1 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -600,7 +600,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
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);