summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_api.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-03-08 15:16:08 +0000
committerAndrey Hristov <andrey@php.net>2008-03-08 15:16:08 +0000
commitf20d47c541b783bfc072242901886629919501be (patch)
treee04429a1bef3d115a52aa73da4749439335f3f91 /ext/mysqli/mysqli_api.c
parenteffe87122fa0e8322da04c998a794994546aff83 (diff)
downloadphp-git-f20d47c541b783bfc072242901886629919501be.tar.gz
MFB:
- Fixed problem with $mysqli->connect() not connecting with defaults - Fixed leak (#39475)
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 8f846bc5ee..a0e1b5b577 100644
--- a/ext/mysqli/mysqli_api.c
+++ b/ext/mysqli/mysqli_api.c
@@ -1669,7 +1669,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);
}
/* }}} */