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

@ -505,7 +505,7 @@ closeSession(MXS_ROUTER *instance, MXS_ROUTER_SESSION *router_session)
static void log_closed_session(mysql_server_cmd_t mysql_command, bool is_closed,
SERVER_REF *ref)
{
char msg[MAX_SERVER_NAME_LEN + 200] = ""; // Extra space for message
char msg[MAX_SERVER_ADDRESS_LEN + 200] = ""; // Extra space for message
if (is_closed)
{