mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-25325 built-in documentation for performance_schema tables
Improve documentation of performance_schema tables by appending COLUMN comments to tables. Additionally improve test coverage and update corresponding tests.
This commit is contained in:
committed by
Vicențiu Ciorbaru
parent
edde990e35
commit
528abc749e
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.accounts WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='accounts';
|
||||
|
@ -33,3 +33,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.cond_instances WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='cond_instances';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_summary_by_account_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_stages_summary_by_account_by_event_name';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_summary_by_host_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_stages_summary_by_host_by_event_name';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_summary_by_thread_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_stages_summary_by_thread_by_event_name';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_summary_by_user_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_stages_summary_by_user_by_event_name';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_summary_global_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_stages_summary_global_by_event_name';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_account_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_statements_summary_by_account_by_event_name';
|
||||
|
@ -61,3 +61,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_digest WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_statements_summary_by_digest';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_host_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_statements_summary_by_host_by_event_name';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_thread_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_statements_summary_by_thread_by_event_name';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_summary_by_user_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_statements_summary_by_user_by_event_name';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_summary_global_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_statements_summary_global_by_event_name';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_current WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_stages_current';
|
||||
|
@ -45,3 +45,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_history WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_stages_history';
|
||||
|
@ -45,3 +45,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_stages_history_long WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_stages_history_long';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_current WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_statements_current';
|
||||
|
@ -45,3 +45,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_history WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_statements_history';
|
||||
|
@ -45,3 +45,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_statements_history_long WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_statements_history_long';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_current WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_waits_current';
|
||||
|
@ -45,3 +45,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_history WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_waits_history';
|
||||
|
@ -45,3 +45,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_history_long WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_waits_history_long';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_account_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_waits_summary_by_account_by_event_name';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_host_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_waits_summary_by_host_by_event_name';
|
||||
|
@ -52,3 +52,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_instance WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_waits_summary_by_instance';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_thread_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_waits_summary_by_thread_by_event_name';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_summary_by_user_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_waits_summary_by_user_by_event_name';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.events_waits_summary_global_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='events_waits_summary_global_by_event_name';
|
||||
|
@ -33,3 +33,11 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.file_instances WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='file_instances';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.file_summary_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='file_summary_by_event_name';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.file_summary_by_instance WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='file_summary_by_instance';
|
||||
|
@ -41,3 +41,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.host_cache WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='host_cache';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.hosts WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='hosts';
|
||||
|
@ -33,3 +33,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.mutex_instances WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='mutex_instances';
|
||||
|
@ -55,3 +55,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.objects_summary_global_by_type WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='objects_summary_global_by_type';
|
||||
|
@ -35,3 +35,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.performance_timers WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='performance_timers';
|
||||
|
@ -33,3 +33,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.rwlock_instances WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='rwlock_instances';
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Tests for PERFORMANCE_SCHEMA
|
||||
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_perfschema.inc
|
||||
|
||||
@ -36,3 +38,10 @@ UNLOCK TABLES;
|
||||
-- error ER_TABLEACCESS_DENIED_ERROR
|
||||
LOCK TABLES performance_schema.session_account_connect_attrs WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='session_account_connect_attrs';
|
||||
|
@ -1,3 +1,5 @@
|
||||
# Tests for PERFORMANCE_SCHEMA
|
||||
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_perfschema.inc
|
||||
|
||||
@ -36,3 +38,10 @@ UNLOCK TABLES;
|
||||
-- error ER_TABLEACCESS_DENIED_ERROR
|
||||
LOCK TABLES performance_schema.session_connect_attrs WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='session_connect_attrs';
|
||||
|
@ -70,3 +70,9 @@ insert into performance_schema.setup_actors
|
||||
select * from test.setup_actors;
|
||||
drop table test.setup_actors;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='setup_actors';
|
||||
|
@ -38,3 +38,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.setup_consumers WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='setup_consumers';
|
||||
|
@ -98,3 +98,10 @@ ORDER BY RAND();
|
||||
update performance_schema.setup_instruments set timed='YES';
|
||||
--enable_query_log
|
||||
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='setup_instruments';
|
||||
|
@ -94,3 +94,9 @@ insert into performance_schema.setup_objects
|
||||
select * from test.setup_objects;
|
||||
drop table test.setup_objects;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='setup_objects';
|
||||
|
@ -64,3 +64,9 @@ update performance_schema.setup_timers
|
||||
|
||||
select * from performance_schema.setup_timers;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='setup_timers';
|
||||
|
@ -33,3 +33,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.socket_instances WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='socket_instances';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.socket_summary_by_event_name WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='socket_summary_by_event_name';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.socket_summary_by_instance WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='socket_summary_by_instance';
|
||||
|
@ -48,3 +48,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.threads WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='threads';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.table_io_waits_summary_by_index_usage WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='table_io_waits_summary_by_index_usage';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.table_io_waits_summary_by_table WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='table_io_waits_summary_by_table';
|
||||
|
@ -40,3 +40,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.table_lock_waits_summary_by_table WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='table_lock_waits_summary_by_table';
|
||||
|
@ -39,3 +39,9 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.users WRITE;
|
||||
UNLOCK TABLES;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-25325 column_comment for performance_schema tables
|
||||
--echo #
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='users';
|
||||
|
@ -55,3 +55,8 @@ select count(*) from information_schema.columns
|
||||
|
||||
select (@count_object_columns - @count_object_unsigned) = 0;
|
||||
|
||||
# Confirm that all columns have comments
|
||||
#
|
||||
select count(*) from information_schema.columns
|
||||
where table_schema="performance_schema"
|
||||
and (column_comment is null or column_comment = '');
|
||||
|
Reference in New Issue
Block a user