mirror of
https://github.com/php/php-src.git
synced 2026-04-29 03:03:26 +02:00
pass data which is available
This commit is contained in:
@@ -848,7 +848,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
||||
#ifndef MYSQL_USE_MYSQLND
|
||||
if (mysql_real_connect(mysql->conn, host, user, passwd, NULL, port, socket, client_flags)==NULL)
|
||||
#else
|
||||
if (mysqlnd_connect(mysql->conn, host, user, passwd, 0, NULL, 0, port, socket, client_flags TSRMLS_CC) == NULL)
|
||||
if (mysqlnd_connect(mysql->conn, host, user, passwd, passwd_len, NULL, 0, port, socket, client_flags TSRMLS_CC) == NULL)
|
||||
#endif
|
||||
{
|
||||
/* Populate connect error globals so that the error functions can read them */
|
||||
|
||||
Reference in New Issue
Block a user