MXS-2220 Read server version using public methods

Version related fields have been removed from the public class.
This commit is contained in:
Esa Korhonen
2018-12-18 16:39:39 +02:00
parent d1b098d3b0
commit 09aa54720d
15 changed files with 100 additions and 167 deletions

View File

@ -1852,7 +1852,7 @@ uint64_t service_get_version(const SERVICE* svc, service_version_which_t which)
if (sref)
{
version = server_get_version(sref->server);
version = sref->server->version().total;
}
}
else
@ -1881,7 +1881,7 @@ uint64_t service_get_version(const SERVICE* svc, service_version_which_t which)
++n;
SERVER* s = sref->server;
uint64_t server_version = server_get_version(s);
uint64_t server_version = s->version().total;
if (which == SERVICE_VERSION_MIN)
{