mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix a problem with $mysqi->connect() not working with default values.
Fix a leak, bug#39457
This commit is contained in:
parent
739a4d503b
commit
ff8a310468
6 changed files with 48 additions and 20 deletions
|
@ -1595,7 +1595,7 @@ PHP_FUNCTION(mysqli_prepare)
|
|||
Open a connection to a mysql server */
|
||||
PHP_FUNCTION(mysqli_real_connect)
|
||||
{
|
||||
mysqli_common_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, TRUE);
|
||||
mysqli_common_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, TRUE, FALSE);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue