mariadb/mysql-test/suite/perfschema
Sergei Golubchik b79723ffe3 MDEV-35384 Table performance_schema.session_status and other two tables are not shown in information_schema.tables for normal users
get_all_tables() skipped tables if the user has no privileges on
the schema itself and no granted privilege on any tables in the schema.

that is, it was skipping performance_schema tables (privileges
on them aren't explicitly granted, but internally hard-coded)

To fix:

* extend ACL_internal_table_access::check() method with
  `bool any_combination_will_do`
* fix all perfschema privilege checks to take it into account.
* don't reuse table_acl_check object for all tables, initialize it
  for every table otherwise GRANT_INTERNAL_INFO will leak
* remove incorrect privilege check from get_all_tables()
2025-01-09 10:00:35 +01:00
..
include MDEV-20157 perfschema.stage_mdl_function failed in buildbot with wrong result 2024-04-24 18:09:58 +02:00
r MDEV-35384 Table performance_schema.session_status and other two tables are not shown in information_schema.tables for normal users 2025-01-09 10:00:35 +01:00
t MDEV-35384 Table performance_schema.session_status and other two tables are not shown in information_schema.tables for normal users 2025-01-09 10:00:35 +01:00
disabled.def Merge branch '10.5' into bb-10.6-release 2022-08-03 12:19:59 +02:00