setKey(): call the higher level wrapper setModifiedKey() instead of touchWatchedKey() even if currently they are exactly the same.
This commit is contained in:
parent
824ea0177f
commit
89f6f6abcf
2
src/db.c
2
src/db.c
@ -110,7 +110,7 @@ void setKey(redisDb *db, robj *key, robj *val) {
|
|||||||
}
|
}
|
||||||
incrRefCount(val);
|
incrRefCount(val);
|
||||||
removeExpire(db,key);
|
removeExpire(db,key);
|
||||||
touchWatchedKey(db,key);
|
signalModifiedKey(db,key);
|
||||||
}
|
}
|
||||||
|
|
||||||
int dbExists(redisDb *db, robj *key) {
|
int dbExists(redisDb *db, robj *key) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user