mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05: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…
Reference in New Issue
Block a user