mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 05:35:31 +02:00
Fixed a problem with privilege tables when downgrading from 4.0.2
to 3.23
This commit is contained in:
parent
0ebb78e8ef
commit
990b178c32
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue