Fix typo in replication.c (#10854)

This commit is contained in:
XiongDa 2022-06-13 17:12:46 +08:00 committed by GitHub
parent 9f3b410050
commit d4595dd94f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3310,7 +3310,7 @@ void replicationDiscardCachedMaster(void) {
* passed as argument as the socket for the new master. * passed as argument as the socket for the new master.
* *
* This function is called when successfully setup a partial resynchronization * This function is called when successfully setup a partial resynchronization
* so the stream of data that we'll receive will start from were this * so the stream of data that we'll receive will start from where this
* master left. */ * master left. */
void replicationResurrectCachedMaster(connection *conn) { void replicationResurrectCachedMaster(connection *conn) {
server.master = server.cached_master; server.master = server.cached_master;