diff options
author | antirez <antirez@gmail.com> | 2020-05-27 17:08:51 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-05-27 17:08:51 +0200 |
commit | 484af8ed537c3ec33b4e1f10d851c2dee0ae8686 (patch) | |
tree | 4c39878f0b2037efcad07f66e6c14712c434a886 | |
parent | 484cfc3d7603277e8c5761dd571962dd0201d873 (diff) | |
download | redis-no-mo-first.tar.gz |
Drop useless line from replicationCacheMaster().no-mo-first
-rw-r--r-- | src/replication.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/replication.c b/src/replication.c index 0484ec8a5..110f0e82d 100644 --- a/src/replication.c +++ b/src/replication.c @@ -2756,8 +2756,6 @@ void replicationCacheMaster(client *c) { * pending outputs to the master. */ sdsclear(server.master->querybuf); sdsclear(server.master->pending_querybuf); - - server.master->reploff = server.master_repl_offset; server.master->read_reploff = server.master->reploff; if (c->flags & CLIENT_MULTI) discardTransaction(c); listEmpty(c->reply); |