X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/cef34df02af2e10a4374fd01efe31ea6f50fce34..b167f87705c807dec100bda9b164e2e580bd2c5d:/redis.c diff --git a/redis.c b/redis.c index 40a32282..f11ca585 100644 --- a/redis.c +++ b/redis.c @@ -4683,6 +4683,7 @@ static void renameGenericCommand(redisClient *c, int nx) { incrRefCount(c->argv[2]); } deleteKey(c->db,c->argv[1]); + touchWatchedKey(c->db,c->argv[2]); server.dirty++; addReply(c,nx ? shared.cone : shared.ok); }