summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_md_locks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/table_md_locks.cc')
-rw-r--r--storage/perfschema/table_md_locks.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/storage/perfschema/table_md_locks.cc b/storage/perfschema/table_md_locks.cc
index d7e3423d9bc..2b69e385a79 100644
--- a/storage/perfschema/table_md_locks.cc
+++ b/storage/perfschema/table_md_locks.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012, 2021, Oracle and/or its affiliates.
+/* Copyright (c) 2012, 2022, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
@@ -37,6 +37,11 @@
THR_LOCK table_metadata_locks::m_table_lock;
+PFS_engine_table_share_state
+table_metadata_locks::m_share_state = {
+ false /* m_checked */
+};
+
PFS_engine_table_share
table_metadata_locks::m_share=
{
@@ -59,7 +64,9 @@ table_metadata_locks::m_share=
"SOURCE VARCHAR(64) comment 'Source file containing the instrumented code that produced the event, as well as the line number where the instrumentation occurred. This allows one to examine the source code involved.',"
"OWNER_THREAD_ID BIGINT unsigned comment 'Thread that requested the lock.',"
"OWNER_EVENT_ID BIGINT unsigned comment 'Event that requested the lock.')")},
- false /* perpetual */
+ false, /* m_perpetual */
+ false, /* m_optional */
+ &m_share_state
};
PFS_engine_table* table_metadata_locks::create(void)