summaryrefslogtreecommitdiff
path: root/src/sort.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2010-12-29 19:39:42 +0100
committerantirez <antirez@gmail.com>2010-12-29 19:39:42 +0100
commitcea8c5cd75b88cd5a13d9b253d792cc045d28b62 (patch)
tree66695a10e6ccbf6285557e7a8cc545b9f1a99476 /src/sort.c
parentd021221086c9a6c5af404f3017791605b70c592d (diff)
downloadredis-cea8c5cd75b88cd5a13d9b253d792cc045d28b62.tar.gz
touched key for WATCH refactored into a more general thing that can be used also for the cache system. Some more changes towards diskstore working.
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 a44a6d63b..1cf8932e3 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -368,7 +368,7 @@ void sortCommand(redisClient *c) {
* SORT result is empty a new key is set and maybe the old content
* replaced. */
server.dirty += 1+outputlen;
- touchWatchedKey(c->db,storekey);
+ signalModifiedKey(c->db,storekey);
addReplyLongLong(c,outputlen);
}