Added logging for case where route hint is to slave.

This commit is contained in:
VilhoRaatikka
2014-08-12 10:27:15 +03:00
parent 4228ecac53
commit c02bb41a9d

View File

@ -1137,6 +1137,12 @@ static route_target_t get_route_target (
"was expected.",
(char *)hint->data)));
}
}
else if (hint->type == HINT_ROUTE_TO_SLAVE)
{
LOGIF(LT, (skygw_log_write(
LOGFILE_TRACE,
"Hint: route to slave.")));
}
hint = hint->next;
} /*< while (hint != NULL) */