Lines Matching refs:chg_user_resp
176 MYSQLND_PACKET_CHG_USER_RESPONSE * chg_user_resp = NULL; in mysqlnd_auth_change_user() local
181 chg_user_resp = conn->protocol->m.get_change_user_response_packet(conn->protocol, FALSE TSRMLS_CC); in mysqlnd_auth_change_user()
183 if (!chg_user_resp) { in mysqlnd_auth_change_user()
233 ret = PACKET_READ(chg_user_resp, conn); in mysqlnd_auth_change_user()
234 COPY_CLIENT_ERROR(*conn->error_info, chg_user_resp->error_info); in mysqlnd_auth_change_user()
236 if (0xFE == chg_user_resp->response_code) { in mysqlnd_auth_change_user()
238 if (!chg_user_resp->new_auth_protocol) { in mysqlnd_auth_change_user()
242 …*switch_to_auth_protocol = mnd_pestrndup(chg_user_resp->new_auth_protocol, chg_user_resp->new_auth… in mysqlnd_auth_change_user()
243 *switch_to_auth_protocol_len = chg_user_resp->new_auth_protocol_len; in mysqlnd_auth_change_user()
244 if (chg_user_resp->new_auth_protocol_data) { in mysqlnd_auth_change_user()
245 *switch_to_auth_protocol_data_len = chg_user_resp->new_auth_protocol_data_len; in mysqlnd_auth_change_user()
247 …memcpy(*switch_to_auth_protocol_data, chg_user_resp->new_auth_protocol_data, *switch_to_auth_proto… in mysqlnd_auth_change_user()
297 } else if (ret == FAIL && chg_user_resp->server_asked_323_auth == TRUE) { in mysqlnd_auth_change_user()
305 PACKET_FREE(chg_user_resp); in mysqlnd_auth_change_user()