diff options
Diffstat (limited to 'storage/perfschema/table_events_stages.cc')
-rw-r--r-- | storage/perfschema/table_events_stages.cc | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/storage/perfschema/table_events_stages.cc b/storage/perfschema/table_events_stages.cc index 66887d39e5a..e2689ad0ad9 100644 --- a/storage/perfschema/table_events_stages.cc +++ b/storage/perfschema/table_events_stages.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, @@ -37,6 +37,11 @@ THR_LOCK table_events_stages_current::m_table_lock; +PFS_engine_table_share_state +table_events_stages_current::m_share_state = { + false /* m_checked */ +}; + PFS_engine_table_share table_events_stages_current::m_share= { @@ -61,11 +66,18 @@ table_events_stages_current::m_share= "WORK_ESTIMATED BIGINT unsigned comment 'The number of work units expected for the stage. NULL if the stage event progress is not instrumented.'," "NESTING_EVENT_ID BIGINT unsigned comment 'EVENT_ID of event within which this event nests.'," "NESTING_EVENT_TYPE ENUM('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT') comment 'Nesting event type. Either transaction, statement, stage or wait.')") }, - false /* perpetual */ + false, /* m_perpetual */ + false, /* m_optional */ + &m_share_state }; THR_LOCK table_events_stages_history::m_table_lock; +PFS_engine_table_share_state +table_events_stages_history::m_share_state = { + false /* m_checked */ +}; + PFS_engine_table_share table_events_stages_history::m_share= { @@ -90,11 +102,18 @@ table_events_stages_history::m_share= "WORK_ESTIMATED BIGINT unsigned comment 'The number of work units expected for the stage. NULL if the stage event progress is not instrumented.'," "NESTING_EVENT_ID BIGINT unsigned comment 'EVENT_ID of event within which this event nests.'," "NESTING_EVENT_TYPE ENUM('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT') comment 'Nesting event type. Either transaction, statement, stage or wait.')") }, - false /* perpetual */ + false, /* m_perpetual */ + false, /* m_optional */ + &m_share_state }; THR_LOCK table_events_stages_history_long::m_table_lock; +PFS_engine_table_share_state +table_events_stages_history_long::m_share_state = { + false /* m_checked */ +}; + PFS_engine_table_share table_events_stages_history_long::m_share= { @@ -119,7 +138,9 @@ table_events_stages_history_long::m_share= "WORK_ESTIMATED BIGINT unsigned comment 'The number of work units expected for the stage. NULL if the stage event progress is not instrumented.'," "NESTING_EVENT_ID BIGINT unsigned comment 'EVENT_ID of event within which this event nests.'," "NESTING_EVENT_TYPE ENUM('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT') comment 'Nesting event type. Either transaction, statement, stage or wait.')") }, - false /* perpetual */ + false, /* m_perpetual */ + false, /* m_optional */ + &m_share_state }; table_events_stages_common::table_events_stages_common |