line length now less than 110 characters
This commit is contained in:
committed by
Markus Makela
parent
48456833da
commit
e849297fc8
@ -1443,7 +1443,10 @@ static void set_master_heartbeat(MYSQL_MONITOR *handle, MONITOR_SERVERS *databas
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* check if the maxscale_schema database and replication_heartbeat table exist */
|
/* check if the maxscale_schema database and replication_heartbeat table exist */
|
||||||
if (mysql_query(database->con, "SELECT table_name FROM information_schema.tables WHERE table_schema = 'maxscale_schema' AND table_name = 'replication_heartbeat'")) {
|
if (mysql_query(database->con,
|
||||||
|
"SELECT table_name FROM information_schema.tables "
|
||||||
|
"WHERE table_schema = 'maxscale_schema' AND table_name = 'replication_heartbeat'"))
|
||||||
|
{
|
||||||
MXS_ERROR( "[mysql_mon]: Error checking for replication_heartbeat in Master server"
|
MXS_ERROR( "[mysql_mon]: Error checking for replication_heartbeat in Master server"
|
||||||
": %s", mysql_error(database->con));
|
": %s", mysql_error(database->con));
|
||||||
database->server->rlag = -1;
|
database->server->rlag = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user