summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_tlws_by_table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/table_tlws_by_table.cc')
-rw-r--r--storage/perfschema/table_tlws_by_table.cc12
1 files changed, 9 insertions, 3 deletions
diff --git a/storage/perfschema/table_tlws_by_table.cc b/storage/perfschema/table_tlws_by_table.cc
index f3d62da3478..b4b181153b4 100644
--- a/storage/perfschema/table_tlws_by_table.cc
+++ b/storage/perfschema/table_tlws_by_table.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010, 2021, Oracle and/or its affiliates.
+/* Copyright (c) 2010, 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,
@@ -386,6 +386,11 @@ TABLE_FIELD_DEF
table_tlws_by_table::m_field_def=
{ sizeof(field_types) / sizeof(TABLE_FIELD_TYPE), field_types };
+PFS_engine_table_share_state
+table_tlws_by_table::m_share_state = {
+ false /* m_checked */
+};
+
PFS_engine_table_share
table_tlws_by_table::m_share=
{
@@ -398,8 +403,9 @@ table_tlws_by_table::m_share=
sizeof(PFS_simple_index),
&m_table_lock,
&m_field_def,
- false, /* checked */
- false /* perpetual */
+ false, /* m_perpetual */
+ false, /* m_optional */
+ &m_share_state
};
PFS_engine_table*