summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-04-20 18:04:24 +0000
committerAndrey Hristov <andrey@php.net>2010-04-20 18:04:24 +0000
commit804b950562a93d5538b722ed202005cdc64bc01e (patch)
tree52c028324ac2c287518c462af0b971cc258c0bbd /ext/mysqlnd/mysqlnd_wireprotocol.c
parent0cbfc91628cd8c2cf7f97dcac95e4b0238fe6677 (diff)
downloadphp-git-804b950562a93d5538b722ed202005cdc64bc01e.tar.gz
It is possible that change user tries an user who has old password.
Instead of error message that doesn't say much there is more information now.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.c')
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c
index 1922a55628..650ce38f96 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.c
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.c
@@ -1693,6 +1693,7 @@ php_mysqlnd_chg_user_read(void *_packet, MYSQLND *conn TSRMLS_DC)
}
if (ERROR_MARKER == packet->field_count) {
+ packet->server_asked_323_auth = TRUE;
php_mysqlnd_read_error_from_line(p, packet->header.size - 1,
packet->error_info.error,
sizeof(packet->error_info.error),