From 990b178c322fb24faa71ae4c09fc92945b439109 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 3 Aug 2002 17:21:21 +0300 Subject: Fixed a problem with privilege tables when downgrading from 4.0.2 to 3.23 --- sql/sql_acl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_acl.cc') diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index edfc2ceeab8..f0131023157 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -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 -- cgit v1.2.1