Separate unknown server version from old versions

This allows better failover support detection.
This commit is contained in:
Esa Korhonen
2018-08-10 18:31:50 +03:00
parent ddc422b102
commit 681c456bd7
4 changed files with 10 additions and 3 deletions

View File

@ -874,6 +874,7 @@ void MariaDBServer::update_server_version()
}
else
{
m_version = version::OLD;
MXS_ERROR("MariaDB/MySQL version of server '%s' is less than 5.5, which is not supported. "
"The server is ignored by the monitor. Server version: '%s'.", name(),
srv->version_string);