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:
@ -747,7 +747,7 @@ static uint32_t resolve_query_type(parsing_info_t *pi, THD* thd)
|
||||
|
||||
if (skygw_stmt_causes_implicit_commit(lex, &set_autocommit_stmt))
|
||||
{
|
||||
if (MXS_LOG_PRIORITY_IS_ENABLED(LOG_INFO))
|
||||
if (mxs_log_is_priority_enabled(LOG_INFO))
|
||||
{
|
||||
if (sql_command_flags[lex->sql_command] &
|
||||
CF_IMPLICT_COMMIT_BEGIN)
|
||||
@ -771,7 +771,7 @@ static uint32_t resolve_query_type(parsing_info_t *pi, THD* thd)
|
||||
|
||||
if (set_autocommit_stmt == 0)
|
||||
{
|
||||
if (MXS_LOG_PRIORITY_IS_ENABLED(LOG_INFO))
|
||||
if (mxs_log_is_priority_enabled(LOG_INFO))
|
||||
{
|
||||
MXS_INFO("Disable autocommit : implicit START TRANSACTION"
|
||||
" before executing the next command.");
|
||||
|
||||
Reference in New Issue
Block a user