提交 bfbc16ae 编写于 作者: A antirez

Fixed a typo causing segfault on MIGRATE

上级 c0875a77
......@@ -1602,7 +1602,7 @@ void migrateCommand(redisClient *c) {
server.dirty++;
/* Translate MIGRATE as DEL for replication/AOF. */
aux = createStringObject("DEL",2);
aux = createStringObject("DEL",3);
rewriteClientCommandVector(c,2,aux,c->argv[3]);
decrRefCount(aux);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册