mirror of
https://github.com/fluencelabs/redis
synced 2025-04-10 03:06:05 +00:00
MIGRATE +NOKEY error was missing the final CRLF causing a protocol error.
This commit is contained in:
parent
bfbc16ae83
commit
e0aab1fc79
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user