summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-04-20 19:09:56 +0000
committerAndrey Hristov <andrey@php.net>2010-04-20 19:09:56 +0000
commitefa0077e0870c89cbefadba2c5a7f2b617a45b07 (patch)
treee3a24986139921364baff08fe7320c6602216330
parent804b950562a93d5538b722ed202005cdc64bc01e (diff)
downloadphp-git-efa0077e0870c89cbefadba2c5a7f2b617a45b07.tar.gz
put the trigger in the right place
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c
index 650ce38f96..252c7f18c3 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.c
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.c
@@ -1689,11 +1689,11 @@ php_mysqlnd_chg_user_read(void *_packet, MYSQLND *conn TSRMLS_DC)
if (packet->header.size == 1 && buf[0] == EODATA_MARKER && packet->server_capabilities & CLIENT_SECURE_CONNECTION) {
/* We don't handle 3.23 authentication */
+ packet->server_asked_323_auth = TRUE;
DBG_RETURN(FAIL);
}
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),