X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/af4e866dbb1455a50d51b3d5f46832f1a36e2080..e39c8b5047c63336f67a7749e8f8cdd539c5eb22:/src/sort.c diff --git a/src/sort.c b/src/sort.c index 0bc86b47..4295a6ec 100644 --- a/src/sort.c +++ b/src/sort.c @@ -364,6 +364,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); addReplySds(c,sdscatprintf(sdsempty(),":%d\r\n",outputlen)); }