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
@ -23,3 +23,13 @@ UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.users WRITE;
|
||||
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'users'
|
||||
UNLOCK TABLES;
|
||||
#
|
||||
# MDEV-25325 column_comment for performance_schema tables
|
||||
#
|
||||
select column_name, column_comment
|
||||
from information_schema.columns
|
||||
where table_schema='performance_schema' and table_name='users';
|
||||
column_name column_comment
|
||||
USER The connection's client user name for the connection, or NULL if an internal thread.
|
||||
CURRENT_CONNECTIONS Current connections for the user.
|
||||
TOTAL_CONNECTIONS Total connections for the user.
|
||||
|
Reference in New Issue
Block a user