mirror of
https://github.com/redis/redis.git
synced 2026-06-03 22:01:02 -04:00
fix typo
This commit is contained in:
parent
8acc07e6f0
commit
770eb112ef
1 changed files with 1 additions and 1 deletions
2
src/db.c
2
src/db.c
|
|
@ -212,7 +212,7 @@ void dbOverwrite(redisDb *db, robj *key, robj *val) {
|
||||||
* 2) clients WATCHing for the destination key notified.
|
* 2) clients WATCHing for the destination key notified.
|
||||||
* 3) The expire time of the key is reset (the key is made persistent).
|
* 3) The expire time of the key is reset (the key is made persistent).
|
||||||
*
|
*
|
||||||
* All the new keys in the database should be creted via this interface. */
|
* All the new keys in the database should be created via this interface. */
|
||||||
void setKey(redisDb *db, robj *key, robj *val) {
|
void setKey(redisDb *db, robj *key, robj *val) {
|
||||||
if (lookupKeyWrite(db,key) == NULL) {
|
if (lookupKeyWrite(db,key) == NULL) {
|
||||||
dbAdd(db,key,val);
|
dbAdd(db,key,val);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue