Skip to content

Commit

Permalink
setKey(): call the higher level wrapper setModifiedKey() instead of t…
Browse files Browse the repository at this point in the history
…ouchWatchedKey() even if currently they are exactly the same.
  • Loading branch information
antirez committed Jan 30, 2012
1 parent 824ea01 commit 89f6f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 89f6f6a

Please sign in to comment.