1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

MDEV-11340 Allow multiple alternative authentication methods for the same user

continue the authentication if the auth plugin is not found,
perhaps the next plugin in the chain will work.
This commit is contained in:
Sergei Golubchik
2019-01-29 12:54:30 +01:00
parent 1e4b08bd29
commit beb9d5ea89
2 changed files with 44 additions and 5 deletions

View File

@@ -132,8 +132,6 @@ struct st_mariadb_methods MARIADB_DEFAULT_METHODS;
#include <mysql/client_plugin.h>
#define native_password_plugin_name "mysql_native_password"
#define IS_CONNHDLR_ACTIVE(mysql)\
((mysql)->extension && (mysql)->extension->conn_hdlr)