Fix a problem with $mysqi->connect() not working with default values.

Fix a leak, bug#39457
This commit is contained in:
Andrey Hristov 2008-03-08 14:55:52 +00:00
parent 739a4d503b
commit ff8a310468
6 changed files with 48 additions and 20 deletions

View file

@ -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);
}
/* }}} */