Lines Matching refs:chg_user_resp
394 MYSQLND_PACKET_CHG_USER_RESPONSE chg_user_resp; in mysqlnd_auth_change_user() local
398 conn->payload_decoder_factory->m.init_change_user_response_packet(&chg_user_resp); in mysqlnd_auth_change_user()
458 ret = PACKET_READ(conn, &chg_user_resp); in mysqlnd_auth_change_user()
459 COPY_CLIENT_ERROR(conn->error_info, chg_user_resp.error_info); in mysqlnd_auth_change_user()
461 if (0xFE == chg_user_resp.response_code) { in mysqlnd_auth_change_user()
463 if (!chg_user_resp.new_auth_protocol) { in mysqlnd_auth_change_user()
467 …*switch_to_auth_protocol = mnd_pestrndup(chg_user_resp.new_auth_protocol, chg_user_resp.new_auth_p… in mysqlnd_auth_change_user()
468 *switch_to_auth_protocol_len = chg_user_resp.new_auth_protocol_len; in mysqlnd_auth_change_user()
469 if (chg_user_resp.new_auth_protocol_data) { in mysqlnd_auth_change_user()
470 *switch_to_auth_protocol_data_len = chg_user_resp.new_auth_protocol_data_len; in mysqlnd_auth_change_user()
472 …memcpy(*switch_to_auth_protocol_data, chg_user_resp.new_auth_protocol_data, *switch_to_auth_protoc… in mysqlnd_auth_change_user()
520 } else if (ret == FAIL && chg_user_resp.server_asked_323_auth == TRUE) { in mysqlnd_auth_change_user()
526 PACKET_FREE(&chg_user_resp); in mysqlnd_auth_change_user()