Role swap fix for MariaDB

The script is not matching mariaDB version and thus run the command
    
    CHANGE MASTER TO master_host='';

which will cause an error. In every case, we need this command to be executed

    RESET SLAVE ALL;