summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_api.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-03-08 14:55:52 +0000
committerAndrey Hristov <andrey@php.net>2008-03-08 14:55:52 +0000
commitff8a3104682c47e2ff01fcf115337fb1bb6a7dd7 (patch)
treeeed11b38521537f8e0a13486c7b0227922bd6267 /ext/mysqli/mysqli_api.c
parent739a4d503b83cf5122bff59a13b48797ac649ff9 (diff)
downloadphp-git-ff8a3104682c47e2ff01fcf115337fb1bb6a7dd7.tar.gz
Fix a problem with $mysqi->connect() not working with default values.
Fix a leak, bug#39457
Diffstat (limited to 'ext/mysqli/mysqli_api.c')
-rw-r--r--ext/mysqli/mysqli_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c
index 343e51df31..7ee47dd443 100644
--- a/ext/mysqli/mysqli_api.c
+++ b/ext/mysqli/mysqli_api.c
@@ -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);
}
/* }}} */