diff options
author | Eugene Kosov <eugene.kosov@mariadb.com> | 2020-06-29 15:39:01 +0300 |
---|---|---|
committer | Eugene Kosov <eugene.kosov@mariadb.com> | 2020-06-30 21:31:49 +0300 |
commit | 1ea266f3ef36e779d23697b18cb94e1b0f8e65ef (patch) | |
tree | 074f15cf1ddb5ff27c91291e76447944afb707f5 /storage | |
parent | ca55e09e9a9a5e30c4137384d96a3bc07493fb01 (diff) | |
download | mariadb-git-1ea266f3ef36e779d23697b18cb94e1b0f8e65ef.tar.gz |
MDEV-23003 INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION requires SUPER instead PROCESS privilege
Fix a typo in a source code. Now real required privileges corresponds
to a ones mentions in documentation.
Documentation states that this table requires PROCESS privilege:
https://mariadb.com/kb/en/information-schema-innodb_tablespaces_encryption-table/
Diffstat (limited to 'storage')
-rw-r--r-- | storage/innobase/handler/i_s.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc index 2729a755570..21eb9da481e 100644 --- a/storage/innobase/handler/i_s.cc +++ b/storage/innobase/handler/i_s.cc @@ -8288,7 +8288,7 @@ i_s_tablespaces_encryption_fill_table( RETURN_IF_INNODB_NOT_STARTED(tables->schema_table_name); /* deny access to user without PROCESS_ACL privilege */ - if (check_global_access(thd, SUPER_ACL)) { + if (check_global_access(thd, PROCESS_ACL)) { DBUG_RETURN(0); } |