summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_session_variables.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/perfschema/table_session_variables.cc')
-rw-r--r--storage/perfschema/table_session_variables.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/storage/perfschema/table_session_variables.cc b/storage/perfschema/table_session_variables.cc
index dd6914d81c8..2a37686f6d9 100644
--- a/storage/perfschema/table_session_variables.cc
+++ b/storage/perfschema/table_session_variables.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,
@@ -35,6 +35,11 @@
THR_LOCK table_session_variables::m_table_lock;
+PFS_engine_table_share_state
+table_session_variables::m_share_state = {
+ false /* m_checked */
+};
+
PFS_engine_table_share
table_session_variables::m_share=
{
@@ -49,7 +54,8 @@ table_session_variables::m_share=
{ C_STRING_WITH_LEN("CREATE TABLE session_variables("
"VARIABLE_NAME VARCHAR(64) not null,"
"VARIABLE_VALUE VARCHAR(1024))") },
- true /* perpetual */
+ true, /* m_perpetual */
+ &m_share_state
};
PFS_engine_table*