mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
MFB: Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags)
This commit is contained in:
parent
2da1432d75
commit
e3ca51413c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue