From: antirez Date: Tue, 25 May 2010 19:26:10 +0000 (+0200) Subject: RENAME is now WATCH-aware X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/b167f87705c807dec100bda9b164e2e580bd2c5d?ds=inline RENAME is now WATCH-aware --- 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); }