diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/userstat/client_stats.cc | 2 | ||||
-rw-r--r-- | plugin/userstat/user_stats.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/userstat/client_stats.cc b/plugin/userstat/client_stats.cc index 2adeb23a385..72c71785606 100644 --- a/plugin/userstat/client_stats.cc +++ b/plugin/userstat/client_stats.cc @@ -78,7 +78,7 @@ static int send_user_stats(THD* thd, HASH *all_user_stats, TABLE *table) static int client_stats_fill(THD* thd, TABLE_LIST* tables, COND* cond) { - if (check_global_access(thd, SUPER_ACL | PROCESS_ACL, true)) + if (check_global_access(thd, PROCESS_ACL, true)) return 0; return send_user_stats(thd, &global_client_stats, tables->table); diff --git a/plugin/userstat/user_stats.cc b/plugin/userstat/user_stats.cc index 50809e0442a..de3d4e12fb1 100644 --- a/plugin/userstat/user_stats.cc +++ b/plugin/userstat/user_stats.cc @@ -34,7 +34,7 @@ static ST_FIELD_INFO user_stats_fields[]= static int user_stats_fill(THD* thd, TABLE_LIST* tables, COND* cond) { - if (check_global_access(thd, SUPER_ACL | PROCESS_ACL, true)) + if (check_global_access(thd, PROCESS_ACL, true)) return 0; return send_user_stats(thd, &global_user_stats, tables->table); |