diff options
author | Alexey Yurchenko <alexey.yurchenko@galeracluster.com> | 2022-02-17 17:14:04 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-03-18 20:50:10 +0100 |
commit | eceb9e2478eb7ea293e13901209c34c6a449657a (patch) | |
tree | 989a9d20e63e3dbf4aa0cad1d07f20e1a03462de /sql/wsrep_utils.cc | |
parent | 7878eae95ec94ca97f5f8258468c21b283c1f010 (diff) | |
download | mariadb-git-eceb9e2478eb7ea293e13901209c34c6a449657a.tar.gz |
MDEV-26971: JSON file interface to wsrep node state.
Fix status reporting - move it from dead code to actually executing.
Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
Diffstat (limited to 'sql/wsrep_utils.cc')
-rw-r--r-- | sql/wsrep_utils.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sql/wsrep_utils.cc b/sql/wsrep_utils.cc index a1bbe2f61f8..a679304c40a 100644 --- a/sql/wsrep_utils.cc +++ b/sql/wsrep_utils.cc @@ -26,7 +26,6 @@ #include "wsrep_utils.h" #include "wsrep_mysqld.h" #include "wsrep_thd.h" -#include "wsrep_status.h" #include <sql_class.h> @@ -94,18 +93,6 @@ wsrep_prepend_PATH (const char* path) namespace wsp { -void -node_status::set(enum wsrep::server_state::state new_status, - const wsrep::view* view) -{ - if (status != new_status || 0 != view) - { - wsrep_notify_status(new_status, view); - status= new_status; - Wsrep_status::report_state(status); - } -} - bool env::ctor_common(char** e) { |