mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/my/mysql-4.1
This commit is contained in:
@ -629,10 +629,10 @@ int acl_getroot(THD *thd, USER_RESOURCES *mqh,
|
||||
if (passwd_len == acl_user_tmp->salt_len)
|
||||
{
|
||||
if (acl_user_tmp->salt_len == 0 ||
|
||||
acl_user_tmp->salt_len == SCRAMBLE_LENGTH &&
|
||||
check_scramble(passwd, thd->scramble, acl_user_tmp->salt) == 0 ||
|
||||
(acl_user_tmp->salt_len == SCRAMBLE_LENGTH ?
|
||||
check_scramble(passwd, thd->scramble, acl_user_tmp->salt) :
|
||||
check_scramble_323(passwd, thd->scramble,
|
||||
(ulong *) acl_user_tmp->salt) == 0)
|
||||
(ulong *) acl_user_tmp->salt)) == 0)
|
||||
{
|
||||
acl_user= acl_user_tmp;
|
||||
res= 0;
|
||||
|
Reference in New Issue
Block a user