MXS-2271 Continue monitor header cleanup

No more free functions. Local functions moved to anonymous namespace.
This commit is contained in:
Esa Korhonen
2019-03-11 10:27:06 +02:00
parent 667a9f1c6f
commit 5e3f837b42
8 changed files with 399 additions and 429 deletions

View File

@ -209,9 +209,9 @@ bool Clustrix::ping_or_connect_to_hub(const char* zName,
MYSQL** ppCon)
{
bool connected = false;
mxs_connect_result_t rv = mon_ping_or_connect_to_db(settings, server, ppCon);
mxs_connect_result_t rv = Monitor::ping_or_connect_to_db(settings, server, ppCon);
if (mon_connection_is_ok(rv))
if (Monitor::connection_is_ok(rv))
{
if (Clustrix::is_part_of_the_quorum(zName, server, *ppCon))
{