Format all sources with Uncrustify
Formatted all sources and manually tuned some files to make the code look neater.
This commit is contained in:
@ -379,8 +379,8 @@ static MXS_ROUTER_SESSION* newSession(MXS_ROUTER* instance, MXS_SESSION* session
|
||||
candidate = ref;
|
||||
}
|
||||
else if (mxs::almost_equal_server_scores(ref->inv_weight * ref->connections,
|
||||
candidate->inv_weight * candidate->connections) &&
|
||||
ref->server->stats.n_connections < candidate->server->stats.n_connections)
|
||||
candidate->inv_weight * candidate->connections)
|
||||
&& ref->server->stats.n_connections < candidate->server->stats.n_connections)
|
||||
{
|
||||
/* The servers are about equally good, but ref has had fewer connections over time.
|
||||
* TODO: On second thought, if the servers are currently about equally good,
|
||||
|
Reference in New Issue
Block a user