mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup: add 'const' to password validation API
This commit is contained in:
@ -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_CONST_LEX_STRING *username,
|
||||
MYSQL_CONST_LEX_STRING *password);
|
||||
int (*validate_password)(const MYSQL_CONST_LEX_STRING *username,
|
||||
const MYSQL_CONST_LEX_STRING *password);
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user