1
0
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:
unknown
2002-08-03 17:21:21 +03:00
parent 0ebb78e8ef
commit 990b178c32
2 changed files with 3 additions and 1 deletions

View File

@ -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