summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsytj0413 <511121939@qq.com>2017-08-29 14:44:05 +0800
committerlsytj0413 <511121939@qq.com>2018-12-06 11:08:59 +0800
commit6aa9606995bc8ae55f01f7713bc9ed8dc88070f1 (patch)
tree6196f4612fb47f3fae6aa634140055b27b0c898a
parent430a987f4e6c7a011b0841042e4bf34ef7d4b19b (diff)
downloadredis-6aa9606995bc8ae55f01f7713bc9ed8dc88070f1.tar.gz
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);