diff options
author | Jan Lindström <jan.lindstrom@galeracluster.com> | 2023-04-20 13:26:09 +0300 |
---|---|---|
committer | Julius Goryavsky <julius.goryavsky@mariadb.com> | 2023-05-16 13:11:44 +0200 |
commit | 956d6c4af9e353299cce6d2ccbd7c400a1d00d70 (patch) | |
tree | 7093f432715d550778c5633ae5fc3b64e72f9aaa /sql/wsrep_schema.h | |
parent | ffd5d74c4f0e0812b461b5c6990abdf99ed038bf (diff) | |
download | mariadb-git-10.4.tar.gz |
MDEV-21479 : Galera 4 unable to query cluster state if not primary componentbb-10.4-MDEV-31067-aggregate-condbb-10.4-MDEV-30013-galera10.4
Set mysql.wsrep_cluster and mysql.wsrep_cluster_members as
TABLE_CATEGORY_INFORMATION as mysql.wsrep_streaming_log
so that they can be queried even if node is not primary
component.
Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
Diffstat (limited to 'sql/wsrep_schema.h')
-rw-r--r-- | sql/wsrep_schema.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/wsrep_schema.h b/sql/wsrep_schema.h index 36e23998d19..979b175481c 100644 --- a/sql/wsrep_schema.h +++ b/sql/wsrep_schema.h @@ -33,6 +33,11 @@ struct TABLE_LIST; struct st_mysql_lex_string; typedef struct st_mysql_lex_string LEX_STRING; +#define WSREP_SCHEMA "mysql" +#define WSREP_STREAMING_TABLE "wsrep_streaming_log" +#define WSREP_CLUSTER_TABLE "wsrep_cluster" +#define WSREP_MEMBERS_TABLE "wsrep_cluster_members" + /** Name of the table in `wsrep_schema_str` used for storing streaming replication data. In an InnoDB full format, e.g. "database/tablename". */ extern const char* wsrep_sr_table_name_full; |