1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-29 00:08:14 +03:00

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/
This commit is contained in:
Eugene Kosov
2020-06-29 15:39:01 +03:00
parent ca55e09e9a
commit 1ea266f3ef

View File

@@ -8288,7 +8288,7 @@ i_s_tablespaces_encryption_fill_table(
RETURN_IF_INNODB_NOT_STARTED(tables->schema_table_name); RETURN_IF_INNODB_NOT_STARTED(tables->schema_table_name);
/* deny access to user without PROCESS_ACL privilege */ /* 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); DBUG_RETURN(0);
} }