Clarify server version error message

The required server version is now printed.
This commit is contained in:
Esa Korhonen 2018-10-10 14:07:57 +03:00
parent c0945020ee
commit 2f76c48b06

View File

@ -1366,9 +1366,9 @@ void MariaDBMonitor::check_cluster_operations_support()
&& server->m_version != MariaDBServer::version::MARIADB_100)
{
supported = false;
auto reason = string_printf("The version of server %s is not supported. Failover/switchover "
"requires MariaDB 10.X.",
server->name());
auto reason = string_printf("The version of %s (%s) is not supported. Failover/switchover "
"requires MariaDB 10.0.2 or later.",
server->name(), server->m_server_base->server->version_string);
printer.cat(all_reasons, reason);
}