mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bb-10.2-ext into 10.3
This commit is contained in:
@ -189,8 +189,12 @@ extern LEX_CSTRING current_user_and_current_role;
|
||||
|
||||
static inline int access_denied_error_code(int passwd_used)
|
||||
{
|
||||
#ifdef mysqld_error_find_printf_error_used
|
||||
return 0;
|
||||
#else
|
||||
return passwd_used == 2 ? ER_ACCESS_DENIED_NO_PASSWORD_ERROR
|
||||
: ER_ACCESS_DENIED_ERROR;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* prototypes */
|
||||
|
Reference in New Issue
Block a user