• antirez's avatar
    Minor changes to PR #2813. · 6ef80f4e
    antirez authored
    * Function to test for slave handshake renamed slaveIsInHandshakeState.
    * Function no longer accepts arguments since it always tests the
      same global state.
    * Test for state translated to a range test since defines are guaranteed
      to stay in order in the future.
    * Use the new function in the ROLE command implementation as well.
    6ef80f4e
replication.c 92.9 KB