summaryrefslogtreecommitdiff
path: root/storage/perfschema/table_esms_by_digest.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-08-02 09:34:15 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2022-08-02 09:34:15 +0200
commitb043e1098e3575f6e91882ab7b6b254327a2865b (patch)
treeccc06f38301a8e4dcaade49dee57faeaa45cdb98 /storage/perfschema/table_esms_by_digest.cc
parent4d0c53a3276da82e84d477c5a94bf40083f06cbf (diff)
parent61d08f74275b129c5d00daaa7856aead88f034ff (diff)
downloadmariadb-git-b043e1098e3575f6e91882ab7b6b254327a2865b.tar.gz
Merge branch 'merge-perfschema-5.7' into 10.5
Diffstat (limited to 'storage/perfschema/table_esms_by_digest.cc')
-rw-r--r--storage/perfschema/table_esms_by_digest.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/storage/perfschema/table_esms_by_digest.cc b/storage/perfschema/table_esms_by_digest.cc
index c27e3372562..6a3f2bf3c3c 100644
--- a/storage/perfschema/table_esms_by_digest.cc
+++ b/storage/perfschema/table_esms_by_digest.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,
@@ -41,6 +41,11 @@
THR_LOCK table_esms_by_digest::m_table_lock;
+PFS_engine_table_share_state
+table_esms_by_digest::m_share_state = {
+ false /* m_checked */
+};
+
PFS_engine_table_share
table_esms_by_digest::m_share=
{
@@ -82,7 +87,9 @@ table_esms_by_digest::m_share=
"SUM_NO_GOOD_INDEX_USED BIGINT unsigned not null comment 'Sum of the NO_GOOD_INDEX_USED column in the events_statements_current table.',"
"FIRST_SEEN TIMESTAMP(0) NOT NULL default 0 comment 'Time at which the digest was first seen.',"
"LAST_SEEN TIMESTAMP(0) NOT NULL default 0 comment 'Time at which the digest was most recently seen.')") },
- false /* perpetual */
+ false, /* m_perpetual */
+ false, /* m_optional */
+ &m_share_state
};
PFS_engine_table*