Avoid using obsolete functions in reset-replication

Removes some duplicate functions.
This commit is contained in:
Esa Korhonen
2019-06-07 14:02:59 +03:00
parent 190c0ac634
commit b49aeae1c8
4 changed files with 35 additions and 81 deletions

View File

@ -300,14 +300,6 @@ public:
*/
bool can_replicate_from(MariaDBServer* master, std::string* reason_out);
/**
* Redirect one slave server to another master
*
* @param change_cmd Change master command, usually generated by generate_change_master_cmd()
* @return True if slave accepted all commands
*/
bool redirect_one_slave(const std::string& change_cmd);
/**
* Check if the server can be demoted by switchover.
*