提交 e0aab1fc 编写于 作者: A antirez

MIGRATE +NOKEY error was missing the final CRLF causing a protocol error.

上级 bfbc16ae
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册