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:
parent
ca0b9de421
commit
d0fd65be57
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user