Browse Source

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)
pull/374/head
vasil 18 years ago
parent
commit
c80d5da05e
  1. 4
      handler/i_s.cc

4
handler/i_s.cc

@ -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);
}

Loading…
Cancel
Save