MySQL 8.4.0
Source Code Documentation
table_replication_group_configuration_version.h
Go to the documentation of this file.
1/* Copyright (c) 2021, 2024, Oracle and/or its affiliates.
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; version 2 of the License.
6
7 This program is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 GNU General Public License for more details.
11
12 You should have received a copy of the GNU General Public License
13 along with this program; if not, write to the Free Software
14 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
15
18
19#ifndef TABLE_REPLICATION_GROUP_CONFIGURATION_VERSION_INCLUDE
20#define TABLE_REPLICATION_GROUP_CONFIGURATION_VERSION_INCLUDE
21
22namespace gr {
23namespace perfschema {
24
26 : public Abstract_Pfs_table {
27 public:
30
31 bool init() override;
32 bool deinit() override;
33
34 static unsigned long long get_row_count();
35 static int rnd_init(PSI_table_handle *handle [[maybe_unused]],
36 bool scan [[maybe_unused]]);
37 static int rnd_next(PSI_table_handle *handle);
38 static int rnd_pos(PSI_table_handle *handle);
41 unsigned int index);
42 static PSI_table_handle *open_table(PSI_pos **pos [[maybe_unused]]);
44};
45
46} // namespace perfschema
47} // namespace gr
48
49#endif /* TABLE_REPLICATION_GROUP_CONFIGURATION_VERSION_INCLUDE */
Definition: table_replication_group_configuration_version.h:26
bool deinit() override
Definition: table_replication_group_configuration_version.cc:202
static void reset_position(PSI_table_handle *handle)
Definition: table_replication_group_configuration_version.cc:91
static unsigned long long get_row_count()
Definition: table_replication_group_configuration_version.cc:58
static int rnd_pos(PSI_table_handle *handle)
Definition: table_replication_group_configuration_version.cc:80
bool init() override
Definition: table_replication_group_configuration_version.cc:206
static int rnd_init(PSI_table_handle *handle, bool scan)
Definition: table_replication_group_configuration_version.cc:62
static PSI_table_handle * open_table(PSI_pos **pos)
Definition: table_replication_group_configuration_version.cc:146
static int read_column_value(PSI_table_handle *handle, PSI_field *field, unsigned int index)
Definition: table_replication_group_configuration_version.cc:99
static int rnd_next(PSI_table_handle *handle)
Definition: table_replication_group_configuration_version.cc:67
static void close_table(PSI_table_handle *handle)
Definition: table_replication_group_configuration_version.cc:195
Definition: group_replication_priv.h:44
static int handle(int sql_errno, const char *sqlstate, const char *message, void *state)
Bridge function between the C++ API offered by this module and the C API of the parser service.
Definition: services.cc:64
struct PSI_table_handle PSI_table_handle
This is an opaque structure to denote table handle in plugin/component code.
Definition: pfs_plugin_table_service.h:97
struct PSI_pos PSI_pos
This is an opaque structure to denote cursor position in plugin/component code.
Definition: pfs_plugin_table_service.h:102
struct PSI_field PSI_field
This is an opaque structure to denote filed in plugin/component code.
Definition: pfs_plugin_table_service.h:93