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
bfbc16ae
Commit
bfbc16ae
authored
Oct 17, 2011
by
antirez
Browse files
Fixed a typo causing segfault on MIGRATE
parent
c0875a77
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
bfbc16ae
...
@@ -1602,7 +1602,7 @@ void migrateCommand(redisClient *c) {
...
@@ -1602,7 +1602,7 @@ void migrateCommand(redisClient *c) {
server
.
dirty
++
;
server
.
dirty
++
;
/* Translate MIGRATE as DEL for replication/AOF. */
/* Translate MIGRATE as DEL for replication/AOF. */
aux
=
createStringObject
(
"DEL"
,
2
);
aux
=
createStringObject
(
"DEL"
,
3
);
rewriteClientCommandVector
(
c
,
2
,
aux
,
c
->
argv
[
3
]);
rewriteClientCommandVector
(
c
,
2
,
aux
,
c
->
argv
[
3
]);
decrRefCount
(
aux
);
decrRefCount
(
aux
);
}
}
...
...
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