Rename server_is_running() to server_is_usable()
The previous name was misleading. The new server_is_running() only checks for the running bit so that a server is always either running or down.
This commit is contained in:
@ -443,6 +443,11 @@ bool MariaDBServer::is_slave() const
|
||||
return status_is_slave(m_server_base->pending_status);
|
||||
}
|
||||
|
||||
bool MariaDBServer::is_usable() const
|
||||
{
|
||||
return status_is_usable(m_server_base->pending_status);
|
||||
}
|
||||
|
||||
bool MariaDBServer::is_running() const
|
||||
{
|
||||
return status_is_running(m_server_base->pending_status);
|
||||
|
||||
Reference in New Issue
Block a user