MXS-1845 Print all slave connections at 'show monitors'

The format has changed.
This commit is contained in:
Esa Korhonen
2018-05-16 16:13:52 +03:00
parent 45da5a08d9
commit a31549221b
2 changed files with 23 additions and 11 deletions

View File

@ -48,6 +48,7 @@ public:
std::string last_error; /**< Last IO or SQL error encountered. */
SlaveStatus();
std::string to_string() const;
static slave_io_running_t slave_io_from_string(const std::string& str);
static std::string slave_io_to_string(slave_io_running_t slave_io);
};