MXS-2014 Rename mxs_log_priority_is_enabled

- Renamed to mxs_log_is_priority_enabled
- That function instead of the macro is now consistently used
This commit is contained in:
Johan Wikman
2018-08-15 21:48:38 +03:00
parent 8ae2997c4e
commit 9a8bb95be6
12 changed files with 36 additions and 34 deletions

View File

@ -314,7 +314,7 @@ bool RWSplit::select_connect_backend_servers(MXS_SESSION *session,
auto cmpfun = criteria_cmpfun[select_criteria];
ss_dassert(cmpfun);
if (MXS_LOG_PRIORITY_IS_ENABLED(LOG_INFO))
if (mxs_log_is_priority_enabled(LOG_INFO))
{
log_server_connections(select_criteria, backends);
}