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
e0aab1fc
Commit
e0aab1fc
authored
Oct 17, 2011
by
antirez
Browse files
MIGRATE +NOKEY error was missing the final CRLF causing a protocol error.
parent
bfbc16ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
e0aab1fc
...
@@ -1530,7 +1530,7 @@ void migrateCommand(redisClient *c) {
...
@@ -1530,7 +1530,7 @@ void migrateCommand(redisClient *c) {
* nothing to migrate (for instance the key expired in the meantime), but
* nothing to migrate (for instance the key expired in the meantime), but
* we include such information in the reply string. */
* we include such information in the reply string. */
if ((o = lookupKeyRead(c->db,c->argv[3])) == NULL) {
if ((o = lookupKeyRead(c->db,c->argv[3])) == NULL) {
addReplySds
(
c
,
sdsnew
(
"+NOKEY"
));
addReplySds(c,sdsnew("+NOKEY
\r\n
"));
return;
return;
}
}
...
...
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