Commit 0ad9c404 authored by vasil's avatar vasil

branches/zip:

Require PROCESS privileges instead of SUPER to view INFORMATION_SCHEMA tables.

Suggested by:	Sergei Golubchik <serg@mysql.com> (in a private email,
		pointed http://bugs.mysql.com/32710)
parent 28a30701
......@@ -901,7 +901,7 @@ trx_i_s_common_fill_table(
DBUG_ENTER("trx_i_s_common_fill_table");
/* deny access to non-superusers */
if (check_global_access(thd, SUPER_ACL)) {
if (check_global_access(thd, PROCESS_ACL)) {
DBUG_RETURN(0);
}
......@@ -1056,7 +1056,7 @@ i_s_zip_fill_low(
DBUG_ENTER("i_s_zip_fill_low");
/* deny access to non-superusers */
if (check_global_access(thd, SUPER_ACL)) {
if (check_global_access(thd, PROCESS_ACL)) {
DBUG_RETURN(0);
}
......
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