summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2018-12-11 13:02:28 +0100
committerGitHub <noreply@github.com>2018-12-11 13:02:28 +0100
commite8529d1b1e98aba5021592025c5eb2dac1c2727a (patch)
tree42c496c9b39332f55a75c073e5606c3bff6b7d65
parent11d399dded8555781bd4a29968a390a23adae7f2 (diff)
parent6aa9606995bc8ae55f01f7713bc9ed8dc88070f1 (diff)
downloadredis-e8529d1b1e98aba5021592025c5eb2dac1c2727a.tar.gz
Merge pull request #4264 from lsytj0413/unstable
fix a typo: craeted -> created
-rw-r--r--src/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index d7233869f..62c8aa131 100644
--- a/src/db.c
+++ b/src/db.c
@@ -212,7 +212,7 @@ void dbOverwrite(redisDb *db, robj *key, robj *val) {
* 2) clients WATCHing for the destination key notified.
* 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) {
if (lookupKeyWrite(db,key) == NULL) {
dbAdd(db,key,val);