mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
System Versioning 1.0 pre8
Merge branch '10.3' into trunk
This commit is contained in:
@ -198,8 +198,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