diff options
author | antirez <antirez@gmail.com> | 2019-12-18 11:58:02 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2019-12-18 11:58:02 +0100 |
commit | 5b9d3ac6c6932b292c8895af8562c4df3c00464b (patch) | |
tree | 581447cc8efcf9e65cc67401bc1936c0b64b43a7 /src/bitops.c | |
parent | 9d1baa070521f648e836eb741a050a8897d48129 (diff) | |
download | redis-5b9d3ac6c6932b292c8895af8562c4df3c00464b.tar.gz |
Avoid changing setKey() API after #6679 fix.
Diffstat (limited to 'src/bitops.c')
-rw-r--r-- | src/bitops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitops.c b/src/bitops.c index dcd1f27a5..ee1ce0460 100644 --- a/src/bitops.c +++ b/src/bitops.c @@ -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)) { |