• Sujatha's avatar
    MDEV-20601: Make REPLICA a synonym for SLAVE in SQL statements · 42e825dd
    Sujatha authored
    Fix:
    ===
    Add "REPLICA" as an alias for "SLAVE". All commands which use "SLAVE" keyword
    can be used with new alias "REPLICA".
    
    List of commands:
    
    On Master:
    =========
    SHOW REPLICA HOSTS <--> SHOW SLAVE HOSTS
    Privilege "SLAVE"  <--> "REPLICA"
    
    On Slave:
    =========
    START SLAVE       <--> START REPLICA
    START ALL SLAVES  <--> START ALL REPLICAS
    START SLAVE UNTIL <--> START REPLICA UNTIL
    STOP SLAVE        <--> STOP REPLICA
    STOP ALL SLAVES   <--> STOP ALL REPLICAS
    RESET SLAVE       <--> RESET REPLICA
    RESET SLAVE ALL   <--> RESET REPLICA ALL
    SLAVE_POS         <--> REPLICA_POS
    42e825dd
multi_source_slave_alias_replica.result 4.23 KB