summaryrefslogtreecommitdiff
path: root/mysql-test/suite/perfschema/t/dml_esms_by_host_by_event_name.test
diff options
context:
space:
mode:
authorHaidong Ji <ji@haidongji.com>2021-05-02 15:43:04 -0500
committerVicențiu Ciorbaru <cvicentiu@gmail.com>2021-09-07 08:45:19 +0300
commit528abc749e8a65674dd10f59a2d99d7841709939 (patch)
treedb00b716196529419217427dd649cc69596322bc /mysql-test/suite/perfschema/t/dml_esms_by_host_by_event_name.test
parentedde990e35f4760e419bad1f0cb5b57ea9e2f863 (diff)
downloadmariadb-git-528abc749e8a65674dd10f59a2d99d7841709939.tar.gz
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.
Diffstat (limited to 'mysql-test/suite/perfschema/t/dml_esms_by_host_by_event_name.test')
-rw-r--r--mysql-test/suite/perfschema/t/dml_esms_by_host_by_event_name.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/suite/perfschema/t/dml_esms_by_host_by_event_name.test b/mysql-test/suite/perfschema/t/dml_esms_by_host_by_event_name.test
index 7a8c0498a97..19547d991f4 100644
--- a/mysql-test/suite/perfschema/t/dml_esms_by_host_by_event_name.test
+++ b/mysql-test/suite/perfschema/t/dml_esms_by_host_by_event_name.test
@@ -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';