projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfbc16a
)
MIGRATE +NOKEY error was missing the final CRLF causing a protocol error.
author
antirez
<antirez@gmail.com>
Mon, 17 Oct 2011 14:44:08 +0000
(16:44 +0200)
committer
antirez
<antirez@gmail.com>
Mon, 17 Oct 2011 14:44:08 +0000
(16:44 +0200)
src/cluster.c
patch
|
blob
|
blame
|
history
diff --git
a/src/cluster.c
b/src/cluster.c
index 45f5425a4884a5afedfe2a38edbe6db96fa448b2..d16427428f3e59b29945dfb55eff6f1fa28def09 100644
(file)
--- a/
src/cluster.c
+++ b/
src/cluster.c
@@
-1530,7
+1530,7
@@
void migrateCommand(redisClient *c) {
* nothing to migrate (for instance the key expired in the meantime), but
* we include such information in the reply string. */
if ((o = lookupKeyRead(c->db,c->argv[3])) == NULL) {
- addReplySds(c,sdsnew("+NOKEY"));
+ addReplySds(c,sdsnew("+NOKEY
\r\n
"));
return;
}