]> git.saurik.com Git - redis.git/commitdiff
setKey(): call the higher level wrapper setModifiedKey() instead of touchWatchedKey...
authorantirez <antirez@gmail.com>
Mon, 30 Jan 2012 09:27:50 +0000 (10:27 +0100)
committerantirez <antirez@gmail.com>
Mon, 30 Jan 2012 09:27:50 +0000 (10:27 +0100)
src/db.c

index f7d93e08345ce6cfb2eb50361e8345ef4566e9b8..3ff7113b7447159501818b8a2bb11e63a47beb3a 100644 (file)
--- a/src/db.c
+++ b/src/db.c
@@ -110,7 +110,7 @@ void setKey(redisDb *db, robj *key, robj *val) {
     }
     incrRefCount(val);
     removeExpire(db,key);
-    touchWatchedKey(db,key);
+    signalModifiedKey(db,key);
 }
 
 int dbExists(redisDb *db, robj *key) {