mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed a problem with privilege tables when downgrading from 4.0.2
to 3.23
This commit is contained in:
@ -215,7 +215,7 @@ int acl_init(bool dont_read_acl_tables)
|
||||
continue; /* purecov: tested */
|
||||
}
|
||||
get_salt_from_password(user.salt,user.password);
|
||||
user.access=get_access(table,3);
|
||||
user.access=get_access(table,3) & GLOBAL_ACLS;
|
||||
user.sort=get_sort(2,user.host.hostname,user.user);
|
||||
user.hostname_length=user.host.hostname ? (uint) strlen(user.host.hostname) : 0;
|
||||
#ifndef TO_BE_REMOVED
|
||||
|
Reference in New Issue
Block a user