summaryrefslogtreecommitdiff
path: root/include/mysql
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-01-05 13:35:55 +0100
committerSergei Golubchik <serg@mariadb.org>2015-02-10 10:21:15 +0100
commit0ce8703e99dabfa95d1cc0cd720c14f68d4cdda5 (patch)
tree3065eb39a47a1e5bb6520837c64179c420c2b17f /include/mysql
parent5e17ca565e3d1aa9bbb096c60d01eadfef651ddb (diff)
downloadmariadb-git-0ce8703e99dabfa95d1cc0cd720c14f68d4cdda5.tar.gz
password validation plugin API: renames
Diffstat (limited to 'include/mysql')
-rw-r--r--include/mysql/plugin_password_validation.h6
-rw-r--r--include/mysql/plugin_password_validation.h.pp2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/mysql/plugin_password_validation.h b/include/mysql/plugin_password_validation.h
index 0bbb8f481c2..f3ca5c7e0cf 100644
--- a/include/mysql/plugin_password_validation.h
+++ b/include/mysql/plugin_password_validation.h
@@ -17,9 +17,9 @@
/**
@file
- Authentication Plugin API.
+ Password Validation Plugin API.
- This file defines the API for server authentication plugins.
+ This file defines the API for server password validation plugins.
*/
#define MYSQL_PLUGIN_PASSWORD_VALIDATION_INCLUDED
@@ -31,7 +31,7 @@
/**
Password validation plugin descriptor
*/
-struct st_mysql_password_validation
+struct st_mariadb_password_validation
{
int interface_version; /**< version plugin uses */
/**
diff --git a/include/mysql/plugin_password_validation.h.pp b/include/mysql/plugin_password_validation.h.pp
index 77782fb81ee..0a88110685f 100644
--- a/include/mysql/plugin_password_validation.h.pp
+++ b/include/mysql/plugin_password_validation.h.pp
@@ -353,7 +353,7 @@ void *thd_get_ha_data(const void* thd, const struct handlerton *hton);
void thd_set_ha_data(void* thd, const struct handlerton *hton,
const void *ha_data);
void thd_wakeup_subsequent_commits(void* thd, int wakeup_error);
-struct st_mysql_password_validation
+struct st_mariadb_password_validation
{
int interface_version;
int (*validate_password)(MYSQL_LEX_STRING *username,