diff options
author | unknown <timour@askmonty.org> | 2013-06-27 12:51:34 +0300 |
---|---|---|
committer | unknown <timour@askmonty.org> | 2013-06-27 12:51:34 +0300 |
commit | ecbf36a914b696b01ae1497567025e239f4ea693 (patch) | |
tree | 4601dad5ca6d178a6efedfe79d1ef56a9ab257f8 /include/mysql/plugin_auth_common.h | |
parent | 68262ba648886e2d5f35fc85e3cc45df7ffd9ae5 (diff) | |
download | mariadb-git-ecbf36a914b696b01ae1497567025e239f4ea693.tar.gz |
MDEV-4058
MySQL 5.6.10 performance schema: merge of host_cache table
Diffstat (limited to 'include/mysql/plugin_auth_common.h')
-rw-r--r-- | include/mysql/plugin_auth_common.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/mysql/plugin_auth_common.h b/include/mysql/plugin_auth_common.h index 820d299bf88..c52e52af31a 100644 --- a/include/mysql/plugin_auth_common.h +++ b/include/mysql/plugin_auth_common.h @@ -34,6 +34,27 @@ return values of the plugin authenticate_user() method. */ + /** + Authentication failed, plugin internal error. + An error occurred in the authentication plugin itself. + These errors are reported in table performance_schema.host_cache, + column COUNT_AUTH_PLUGIN_ERRORS. +*/ +#define CR_AUTH_PLUGIN_ERROR 3 +/** + Authentication failed, client server handshake. + An error occurred during the client server handshake. + These errors are reported in table performance_schema.host_cache, + column COUNT_HANDSHAKE_ERRORS. +*/ +#define CR_AUTH_HANDSHAKE 2 +/** + Authentication failed, user credentials. + For example, wrong passwords. + These errors are reported in table performance_schema.host_cache, + column COUNT_AUTHENTICATION_ERRORS. +*/ +#define CR_AUTH_USER_CREDENTIALS 1 /** Authentication failed. Additionally, all other CR_xxx values (libmysql error code) can be used too. |