Lines Matching refs:chg_user_resp
177 MYSQLND_PACKET_CHG_USER_RESPONSE * chg_user_resp = NULL; in mysqlnd_auth_change_user() local
182 chg_user_resp = conn->protocol->m.get_change_user_response_packet(conn->protocol, FALSE TSRMLS_CC); in mysqlnd_auth_change_user()
184 if (!chg_user_resp) { in mysqlnd_auth_change_user()
234 ret = PACKET_READ(chg_user_resp, conn); in mysqlnd_auth_change_user()
235 COPY_CLIENT_ERROR(*conn->error_info, chg_user_resp->error_info); in mysqlnd_auth_change_user()
237 if (0xFE == chg_user_resp->response_code) { in mysqlnd_auth_change_user()
239 if (!chg_user_resp->new_auth_protocol) { in mysqlnd_auth_change_user()
243 …*switch_to_auth_protocol = mnd_pestrndup(chg_user_resp->new_auth_protocol, chg_user_resp->new_auth… in mysqlnd_auth_change_user()
244 *switch_to_auth_protocol_len = chg_user_resp->new_auth_protocol_len; in mysqlnd_auth_change_user()
245 if (chg_user_resp->new_auth_protocol_data) { in mysqlnd_auth_change_user()
246 *switch_to_auth_protocol_data_len = chg_user_resp->new_auth_protocol_data_len; in mysqlnd_auth_change_user()
248 …memcpy(*switch_to_auth_protocol_data, chg_user_resp->new_auth_protocol_data, *switch_to_auth_proto… in mysqlnd_auth_change_user()
298 } else if (ret == FAIL && chg_user_resp->server_asked_323_auth == TRUE) { in mysqlnd_auth_change_user()
306 PACKET_FREE(chg_user_resp); in mysqlnd_auth_change_user()