Fix TAP reg_test_3504-change_user-t for new values of switching_auth_type

Because of the implementation of caching_sha2_password, values of switching_auth_type
are shifted by 1
v2.x_sha2pass_draft2
René Cannaò 3 years ago
parent a593407f4d
commit 33b4f306fc

@ -106,11 +106,11 @@ void perform_helper_test(
act_SSL_val = output_res.at("ssl_enabled");
if (auth == "mysql_clear_password") {
exp_switching_auth_type = 0;
exp_switching_auth_type = -1;
} else if (auth == "mysql_native_password") {
exp_switching_auth_type = 0;
exp_switching_auth_type = -1;
} else if (auth == "caching_sha2_password") {
exp_switching_auth_type = 1;
exp_switching_auth_type = 0;
}
act_ch_usernames.push_back(output_res.at("client_com_change_user_1"));

Loading…
Cancel
Save