summaryrefslogtreecommitdiff
path: root/include/mysql/plugin_password_validation.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mysql/plugin_password_validation.h')
-rw-r--r--include/mysql/plugin_password_validation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mysql/plugin_password_validation.h b/include/mysql/plugin_password_validation.h
index 18c643e877b..e2763483db6 100644
--- a/include/mysql/plugin_password_validation.h
+++ b/include/mysql/plugin_password_validation.h
@@ -42,8 +42,8 @@ struct st_mariadb_password_validation
Function provided by the plugin which should perform password validation
and return 0 if the password has passed the validation.
*/
- int (*validate_password)(MYSQL_LEX_STRING *username,
- MYSQL_LEX_STRING *password);
+ int (*validate_password)(MYSQL_CONST_LEX_STRING *username,
+ MYSQL_CONST_LEX_STRING *password);
};
#ifdef __cplusplus