setKey(): call the higher level wrapper setModifiedKey() instead of touchWatchedKey() even if currently they are exactly the same.

This commit is contained in:
antirez 2012-01-30 10:27:50 +01:00
parent 824ea0177f
commit 89f6f6abcf

View File

@ -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) {