Commit bfbc16ae authored by antirez's avatar antirez
Browse files

Fixed a typo causing segfault on MIGRATE

parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment