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

@ -1138,6 +1138,12 @@ static route_target_t get_route_target (
(char *)hint->data))); (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; hint = hint->next;
} /*< while (hint != NULL) */ } /*< while (hint != NULL) */
} }