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:
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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user