diff options
Diffstat (limited to 'storage/perfschema/table_events_waits_summary.cc')
-rw-r--r-- | storage/perfschema/table_events_waits_summary.cc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/storage/perfschema/table_events_waits_summary.cc b/storage/perfschema/table_events_waits_summary.cc index b9565d54460..3ee14e9a3e8 100644 --- a/storage/perfschema/table_events_waits_summary.cc +++ b/storage/perfschema/table_events_waits_summary.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2008, 2021, Oracle and/or its affiliates. +/* Copyright (c) 2008, 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, @@ -36,6 +36,11 @@ THR_LOCK table_events_waits_summary_by_instance::m_table_lock; +PFS_engine_table_share_state +table_events_waits_summary_by_instance::m_share_state = { + false /* m_checked */ +}; + PFS_engine_table_share table_events_waits_summary_by_instance::m_share= { @@ -55,7 +60,9 @@ table_events_waits_summary_by_instance::m_share= "MIN_TIMER_WAIT BIGINT unsigned not null comment 'Minimum wait time of the summarized events that are timed.'," "AVG_TIMER_WAIT BIGINT unsigned not null comment 'Average wait time of the summarized events that are timed.'," "MAX_TIMER_WAIT BIGINT unsigned not null comment 'Maximum wait time of the summarized events that are timed.')") }, - false /* perpetual */ + false, /* m_perpetual */ + false, /* m_optional */ + &m_share_state }; PFS_engine_table* table_events_waits_summary_by_instance::create(void) |