1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fixed a problem with privilege tables when downgrading from 4.0.2

to 3.23
This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-08-03 17:21:21 +03:00
parent 7b4869d9a4
commit 0bf9de2605
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