diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-12-11 21:39:26 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-12-11 21:39:26 +0100 |
commit | 36ebd704dec83745c67249501c4343c140eb272b (patch) | |
tree | f37c35461584549349c6a56dbe94fa5fb4420c52 /storage/perfschema/table_replication_connection_status.h | |
parent | 15f60c1a733eced957384ac56317337fc5f32420 (diff) | |
download | mariadb-git-36ebd704dec83745c67249501c4343c140eb272b.tar.gz |
5.7.28
Diffstat (limited to 'storage/perfschema/table_replication_connection_status.h')
-rw-r--r-- | storage/perfschema/table_replication_connection_status.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/storage/perfschema/table_replication_connection_status.h b/storage/perfschema/table_replication_connection_status.h index 6c95da19235..45376b33e76 100644 --- a/storage/perfschema/table_replication_connection_status.h +++ b/storage/perfschema/table_replication_connection_status.h @@ -1,14 +1,21 @@ /* - Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. + Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; version 2 of the License. + it under the terms of the GNU General Public License, version 2.0, + as published by the Free Software Foundation. + + This program is also distributed with certain software (including + but not limited to OpenSSL) that is licensed under separate terms, + as designated in a particular file or component or in included license + documentation. The authors of MySQL hereby grant you an additional + permission to link the program and your derivative works with the + separately licensed software that they have included with MySQL. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + GNU General Public License, version 2.0, for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software @@ -91,6 +98,8 @@ struct st_row_connect_status { /** Table PERFORMANCE_SCHEMA.REPLICATION_CONNECTION_STATUS. */ class table_replication_connection_status: public PFS_engine_table { + typedef PFS_simple_index pos_t; + private: void make_row(Master_info *mi); @@ -103,9 +112,9 @@ private: /** Current row */ st_row_connect_status m_row; /** Current position. */ - PFS_simple_index m_pos; + pos_t m_pos; /** Next position. */ - PFS_simple_index m_next_pos; + pos_t m_next_pos; protected: /** |