Rename MAX_SERVER_NAME_LEN to MAX_SERVER_ADDRESS_LEN

This commit is contained in:
Johan Wikman
2017-06-19 12:58:31 +03:00
parent 2f090a22fe
commit 32cd28daf2
4 changed files with 5 additions and 5 deletions

View File

@ -1118,7 +1118,7 @@ bool handle_slave_is_target(ROUTER_INSTANCE *inst, ROUTER_CLIENT_SES *rses,
static void log_master_routing_failure(ROUTER_CLIENT_SES *rses, bool found,
DCB *master_dcb, DCB *curr_master_dcb)
{
char errmsg[MAX_SERVER_NAME_LEN * 2 + 100]; // Extra space for error message
char errmsg[MAX_SERVER_ADDRESS_LEN * 2 + 100]; // Extra space for error message
if (!found)
{