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