diff options
Diffstat (limited to 'storage/perfschema/table_users.cc')
-rw-r--r-- | storage/perfschema/table_users.cc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/storage/perfschema/table_users.cc b/storage/perfschema/table_users.cc index d56c90c0270..14fc8bf7db1 100644 --- a/storage/perfschema/table_users.cc +++ b/storage/perfschema/table_users.cc @@ -1,4 +1,4 @@ -/* Copyright (c) 2011, 2021, Oracle and/or its affiliates. +/* Copyright (c) 2011, 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, @@ -34,6 +34,11 @@ THR_LOCK table_users::m_table_lock; +PFS_engine_table_share_state +table_users::m_share_state = { + false /* m_checked */ +}; + PFS_engine_table_share table_users::m_share= { @@ -49,7 +54,9 @@ table_users::m_share= "USER CHAR(" USERNAME_CHAR_LENGTH_STR ") collate utf8_bin default null comment 'The connection''s client user name for the connection, or NULL if an internal thread.'," "CURRENT_CONNECTIONS bigint not null comment 'Current connections for the user.'," "TOTAL_CONNECTIONS bigint not null comment 'Total connections for the user.')") }, - false /* perpetual */ + false, /* m_perpetual */ + false, /* m_optional */ + &m_share_state }; PFS_engine_table* table_users::create() |