MXS-406: check for log message is now fixed

Log message now appears with the right variables check
This commit is contained in:
MassimilianoPinto
2017-01-17 16:06:11 +01:00
parent c62be62618
commit 19b678abfe

View File

@ -740,7 +740,7 @@ static void update_sst_donor_nodes(MXS_MONITOR *mon, int is_cluster)
ptr = ptr->next; ptr = ptr->next;
} }
if (ignore_priority) if (ignore_priority && handle->use_priority)
{ {
MXS_DEBUG("Use priority is set but no server has priority parameter. " MXS_DEBUG("Use priority is set but no server has priority parameter. "
"Donor server list will be ordered by 'wsrep_local_index'"); "Donor server list will be ordered by 'wsrep_local_index'");