mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +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++;
|
||||
|
||||
/* Translate MIGRATE as DEL for replication/AOF. */
|
||||
aux = createStringObject("DEL",2);
|
||||
aux = createStringObject("DEL",3);
|
||||
rewriteClientCommandVector(c,2,aux,c->argv[3]);
|
||||
decrRefCount(aux);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user