mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
Minor new auth fixes
sql/password.c: Add checks and fix new auth changes. sql/sql_parse.cc: Remove the check. It is done in different place
This commit is contained in:
@@ -195,8 +195,6 @@ static int check_user(THD *thd,enum_server_command command, const char *user,
|
||||
thd->db_length=0;
|
||||
USER_RESOURCES ur;
|
||||
|
||||
if (passwd[0] && strlen(passwd) != SCRAMBLE_LENGTH)
|
||||
return 1;
|
||||
/* We shall avoid dupplicate user allocations here */
|
||||
if (!thd->user && !(thd->user = my_strdup(user, MYF(0))))
|
||||
{
|
||||
|
Reference in New Issue
Block a user