]> git.saurik.com Git - redis.git/blobdiff - src/sort.c
exit with non-zero status when there are failed tests
[redis.git] / src / sort.c
index 0bc86b474246ea9aea38b219f935b7b5c5963e1a..4295a6ecca4da627725697700c1b79a93636db79 100644 (file)
@@ -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));
     }