Fix unintentional fallthrough

When LEAST_BEHIND_MASTER routing criteria was used, the info level logging
function would fall through to the default case. In debug builds, this
would trigger a debug assertion.
This commit is contained in:
Markus Mäkelä 2017-10-10 06:10:11 +03:00 committed by Johan Wikman
parent ca0b9de421
commit d0fd65be57

View File

@ -231,6 +231,8 @@ static void log_server_connections(select_criteria_t criteria, const SRWBackendL
MXS_INFO("replication lag : %d in \t[%s]:%d %s",
b->server->rlag, b->server->name,
b->server->port, STRSRVSTATUS(b->server));
break;
default:
ss_dassert(!true);
break;