summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_table_handles.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-09-11 17:55:27 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-09-11 17:55:27 +0300
commit15139964d52539a8bb96d090fa1b5b26921eab3e (patch)
tree926d23e30e2c3aa09014a8005db95ad543694357 /storage/perfschema/table_table_handles.cc
parent54f79a0f7fc8b1b30073391319f1b2c37b4cc015 (diff)
parent40b743f99e8ca5ac479e8c559f8316b606033582 (diff)
downloadmariadb-git-15139964d52539a8bb96d090fa1b5b26921eab3e.tar.gz
Merge 10.5 into 10.6
Diffstat (limited to 'storage/perfschema/table_table_handles.cc')
-rw-r--r--storage/perfschema/table_table_handles.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/storage/perfschema/table_table_handles.cc b/storage/perfschema/table_table_handles.cc
index ab6ed357687..03431bbf1ad 100644
--- a/storage/perfschema/table_table_handles.cc
+++ b/storage/perfschema/table_table_handles.cc
@@ -50,14 +50,14 @@ table_table_handles::m_share=
sizeof(PFS_simple_index),
&m_table_lock,
{ C_STRING_WITH_LEN("CREATE TABLE table_handles("
- "OBJECT_TYPE VARCHAR(64) not null,"
- "OBJECT_SCHEMA VARCHAR(64) not null,"
- "OBJECT_NAME VARCHAR(64) not null,"
- "OBJECT_INSTANCE_BEGIN BIGINT unsigned not null,"
- "OWNER_THREAD_ID BIGINT unsigned,"
- "OWNER_EVENT_ID BIGINT unsigned,"
- "INTERNAL_LOCK VARCHAR(64),"
- "EXTERNAL_LOCK VARCHAR(64))") },
+ "OBJECT_TYPE VARCHAR(64) not null comment 'The table opened by a table handle.',"
+ "OBJECT_SCHEMA VARCHAR(64) not null comment 'The schema that contains the object.',"
+ "OBJECT_NAME VARCHAR(64) not null comment 'The name of the instrumented object.',"
+ "OBJECT_INSTANCE_BEGIN BIGINT unsigned not null comment 'The table handle address in memory.',"
+ "OWNER_THREAD_ID BIGINT unsigned comment 'The thread owning the table handle.',"
+ "OWNER_EVENT_ID BIGINT unsigned comment 'The event which caused the table handle to be opened.',"
+ "INTERNAL_LOCK VARCHAR(64) comment 'The table lock used at the SQL level.',"
+ "EXTERNAL_LOCK VARCHAR(64) comment 'The table lock used at the storage engine level.')") },
false /* perpetual */
};