1
0
mirror of https://github.com/fluencelabs/redis synced 2025-03-31 23:01:03 +00:00

Fixed a typo causing segfault on MIGRATE

This commit is contained in:
antirez 2011-10-17 16:39:05 +02:00
parent c0875a77a1
commit bfbc16ae83

@ -1602,7 +1602,7 @@ void migrateCommand(redisClient *c) {
server.dirty++; server.dirty++;
/* Translate MIGRATE as DEL for replication/AOF. */ /* Translate MIGRATE as DEL for replication/AOF. */
aux = createStringObject("DEL",2); aux = createStringObject("DEL",3);
rewriteClientCommandVector(c,2,aux,c->argv[3]); rewriteClientCommandVector(c,2,aux,c->argv[3]);
decrRefCount(aux); decrRefCount(aux);
} }