summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_nonapi.c
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2009-10-15 20:46:08 +0000
committerUlf Wendel <uw@php.net>2009-10-15 20:46:08 +0000
commitd8dc47d58f5a83b45d08cc2a91286a54bcb719e7 (patch)
treea9ff489a4e96c798a89b50f4cc51f50a3d7f63bb /ext/mysqli/mysqli_nonapi.c
parentab4670ee53b8ef48e0a7f012f3bc26b2297df6c2 (diff)
downloadphp-git-d8dc47d58f5a83b45d08cc2a91286a54bcb719e7.tar.gz
Making mysqlnd emit no warnings when fetching pooled persistent connections that have timed out or are unusable for any other reason - bug #49761
Diffstat (limited to 'ext/mysqli/mysqli_nonapi.c')
-rw-r--r--ext/mysqli/mysqli_nonapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_nonapi.c b/ext/mysqli/mysqli_nonapi.c
index 3e0a43e446..0edbb1a4ec 100644
--- a/ext/mysqli/mysqli_nonapi.c
+++ b/ext/mysqli/mysqli_nonapi.c
@@ -166,7 +166,7 @@ void mysqli_common_connect(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_real_conne
/* reset variables */
#ifndef MYSQLI_NO_CHANGE_USER_ON_PCONNECT
- if (!mysql_change_user(mysql->mysql, username, passwd, dbname)) {
+ if (!mysqli_change_user_silent(mysql->mysql, username, passwd, dbname)) {
#else
if (!mysql_ping(mysql->mysql)) {
#endif