MXS-2899: Update charset only when successful
By updating the server charset only when we successfully query it, the charset will not change due to network connectivity problems.
This commit is contained in:
@ -701,7 +701,7 @@ static bool check_server_permissions(SERVICE* service,
|
||||
}
|
||||
|
||||
/** Copy the server charset */
|
||||
server->charset = mxs_mysql_get_character_set(mysql);
|
||||
mxs_update_server_charset(mysql, server);
|
||||
|
||||
if (server->version_string[0] == 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user