Commit 38e811fd authored by unknown's avatar unknown

bk resolve

parents b84a4f2f f0171a92
...@@ -50226,6 +50226,7 @@ each individual 4.0.x release. ...@@ -50226,6 +50226,7 @@ each individual 4.0.x release.
@itemize @bullet @itemize @bullet
@item @item
Fixed security bug in database hash
Made @code{safe_mysqld} a symlink to @code{mysqld_safe} in binary distribution. Made @code{safe_mysqld} a symlink to @code{mysqld_safe} in binary distribution.
@item @item
Fixed security bug when having an empty databasename in the user.db table. Fixed security bug when having an empty databasename in the user.db table.
...@@ -297,7 +297,8 @@ int acl_init(bool dont_read_acl_tables) ...@@ -297,7 +297,8 @@ int acl_init(bool dont_read_acl_tables)
user.access|=REFERENCES_ACL | INDEX_ACL | ALTER_ACL; user.access|=REFERENCES_ACL | INDEX_ACL | ALTER_ACL;
} }
/* Convert old privileges */ /* Convert old privileges */
user.access|= LOCK_TABLES_ACL | CREATE_TMP_ACL | SHOW_DB_ACL; if (user.access)
user.access|= LOCK_TABLES_ACL | CREATE_TMP_ACL | SHOW_DB_ACL;
if (user.access & FILE_ACL) if (user.access & FILE_ACL)
user.access|= REPL_CLIENT_ACL | REPL_SLAVE_ACL; user.access|= REPL_CLIENT_ACL | REPL_SLAVE_ACL;
if (user.access & PROCESS_ACL) if (user.access & PROCESS_ACL)
......
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