Avoid changing setKey() API after #6679 fix.

This commit is contained in:
antirez
2019-12-18 11:58:02 +01:00
parent 9d1baa0705
commit 5b9d3ac6c6
7 changed files with 21 additions and 12 deletions

View File

@ -754,7 +754,7 @@ void bitopCommand(client *c) {
/* Store the computed value into the target key */
if (maxlen) {
o = createObject(OBJ_STRING,res);
setKey(c->db,targetkey,o,0);
setKey(c->db,targetkey,o);
notifyKeyspaceEvent(NOTIFY_STRING,"set",targetkey,c->db->id);
decrRefCount(o);
} else if (dbDelete(c->db,targetkey)) {