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

@ -100,17 +100,17 @@ public:
void set_version(uint64_t version_num, const std::string& version_str) override;
Version get_version() const override
Version version() const override
{
return info.version_num();
}
Type get_type() const override
Type type() const override
{
return info.type();
}
std::string get_version_string() const override
std::string version_string() const override
{
return info.version_string();
}