summaryrefslogtreecommitdiff
path: root/src/sort.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-12-18 11:58:02 +0100
committerantirez <antirez@gmail.com>2019-12-18 11:58:02 +0100
commit5b9d3ac6c6932b292c8895af8562c4df3c00464b (patch)
tree581447cc8efcf9e65cc67401bc1936c0b64b43a7 /src/sort.c
parent9d1baa070521f648e836eb741a050a8897d48129 (diff)
downloadredis-5b9d3ac6c6932b292c8895af8562c4df3c00464b.tar.gz
Avoid changing setKey() API after #6679 fix.
Diffstat (limited to 'src/sort.c')
-rw-r--r--src/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c
index c8666d6f5..db26da158 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -570,7 +570,7 @@ void sortCommand(client *c) {
}
}
if (outputlen) {
- setKey(c->db,storekey,sobj,0);
+ setKey(c->db,storekey,sobj);
notifyKeyspaceEvent(NOTIFY_LIST,"sortstore",storekey,
c->db->id);
server.dirty += outputlen;