Lines Matching refs:chg_user_resp
387 MYSQLND_PACKET_CHG_USER_RESPONSE chg_user_resp; in mysqlnd_auth_change_user() local
391 conn->payload_decoder_factory->m.init_change_user_response_packet(&chg_user_resp); in mysqlnd_auth_change_user()
451 ret = PACKET_READ(conn, &chg_user_resp); in mysqlnd_auth_change_user()
452 COPY_CLIENT_ERROR(conn->error_info, chg_user_resp.error_info); in mysqlnd_auth_change_user()
454 if (0xFE == chg_user_resp.response_code) { in mysqlnd_auth_change_user()
456 if (!chg_user_resp.new_auth_protocol) { in mysqlnd_auth_change_user()
460 …*switch_to_auth_protocol = mnd_pestrndup(chg_user_resp.new_auth_protocol, chg_user_resp.new_auth_p… in mysqlnd_auth_change_user()
461 *switch_to_auth_protocol_len = chg_user_resp.new_auth_protocol_len; in mysqlnd_auth_change_user()
462 if (chg_user_resp.new_auth_protocol_data) { in mysqlnd_auth_change_user()
463 *switch_to_auth_protocol_data_len = chg_user_resp.new_auth_protocol_data_len; in mysqlnd_auth_change_user()
465 …memcpy(*switch_to_auth_protocol_data, chg_user_resp.new_auth_protocol_data, *switch_to_auth_protoc… in mysqlnd_auth_change_user()
500 } else if (ret == FAIL && chg_user_resp.server_asked_323_auth == TRUE) { in mysqlnd_auth_change_user()
506 PACKET_FREE(&chg_user_resp); in mysqlnd_auth_change_user()