MXS-2330 Use simpler queries

Since the current node id can be obtained using the function gtmnid()
the queries for finding out whether a node is in the quorum and whether
it is softfailed can be made simpler.
This commit is contained in:
Johan Wikman
2019-02-14 12:41:12 +02:00
parent 5c34550b40
commit 21d9ec34cf
2 changed files with 45 additions and 45 deletions

View File

@ -24,6 +24,7 @@ enum class Status
{
QUORUM,
STATIC,
DYNAMIC,
UNKNOWN
};