Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/MariaDB/mysql-test/suite/perfschema/t/   (MariaDB Server Version 8.1-8.4©)  Datei vom 1.9.2026 mit Größe 824 B image not shown  

Quelle  grant.test  Sprache: unbekannt

 
Spracherkennung für: .test vermutete Sprache: SQL {SQL[96] ABAP[72] Lisp[56]} [Methode: maximale Elemente, drei Dimensionen]

--source include/not_embedded.inc
--source include/have_perfschema.inc
#
# MDEV-22884 Assertion `grant_table || grant_table_role' failed on perfschema
#
create user a@localhost;
connect a,localhost,a;
select * from performance_schema.global_status where variable_name='b';
connection default;
disconnect a;
drop user a@localhost;

--echo #
--echo # MDEV-35384 Table performance_schema.session_status and other two tables are not shown in information_schema.tables for normal users
--echo #
create user foo@localhost;
connect foo,localhost,foo;
sorted_result;
select table_schema,engine from information_schema.tables where table_name='session_status';
select count(*) > 0 as 'table is readable' from performance_schema.session_status;
connection default;
disconnect foo;
drop user foo@localhost;

--echo # End of 10.6 tests

[Dauer der Verarbeitung: 0.12 Sekunden, vorverarbeitet 2026-10-08]