Commit 990b178c authored by unknown's avatar unknown

Fixed a problem with privilege tables when downgrading from 4.0.2

to 3.23

parent 0ebb78e8
......@@ -46928,6 +46928,8 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.52
@itemize @bullet
@item
Fixed problem with privilege tables when downgrading from 4.0.2 to 3.23 ...
@item
Added name of 'administrator command' logs.
@item
Fixed bug with creating an auto-increment value on second part of a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment