fix for slave set with mariadb 10 replication

fix for slave set with mariadb 10 replication