MXS-2525: Fix non-plugin authentication

Older clients assume the plugin used for authentication is
mysql_native_password. If the client doesn't request plugin
authentication, don't treat it as an error.
This commit is contained in:
Markus Mäkelä
2019-05-29 12:41:53 +03:00
parent 3721d6abf2
commit 114e095e1b

View File

@ -612,6 +612,10 @@ mysql_auth_set_client_data(
}
}
}
else
{
client_data->correct_authenticator = true;
}
}
}
}