Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
484af8ed
Commit
484af8ed
authored
May 27, 2020
by
antirez
Browse files
Drop useless line from replicationCacheMaster().
parent
484cfc3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/replication.c
View file @
484af8ed
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment