summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_table_handles.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-09-11 18:01:31 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-09-11 18:01:31 +0300
commit4be366111b5bca25643574737b6a0ee17c05cce3 (patch)
tree5194b04fc95e4c52723cdaaac764f696cae918fb /storage/perfschema/table_table_handles.cc
parent76149650764ea9660ae05d4987ea6c91534851ab (diff)
parent15139964d52539a8bb96d090fa1b5b26921eab3e (diff)
downloadmariadb-git-4be366111b5bca25643574737b6a0ee17c05cce3.tar.gz
Merge 10.6 into 10.7
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 */
};