From 65a87cb77352b1f3c408148e0cdc9911aefad90c Mon Sep 17 00:00:00 2001 From: Moti Cohen Date: Thu, 12 Sep 2024 12:50:44 +0300 Subject: [PATCH] Correct spelling error at t_hash.c comment (#13540) spell check error : ./src/t_hash.c:1141: RESOTRE ==> RESTORE --- src/t_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t_hash.c b/src/t_hash.c index 3b6b1c290..1ffef5aa6 100644 --- a/src/t_hash.c +++ b/src/t_hash.c @@ -1138,7 +1138,7 @@ int hashTypeSetExInit(robj *key, robj *o, client *c, redisDb *db, const char *cm listpackEx *lpt = o->ptr; /* If the hash previously had HFEs but later no longer does, the key ref - * (lpt->key) in the hash might become outdated after a MOVE/COPY/RENAME/RESOTRE + * (lpt->key) in the hash might become outdated after a MOVE/COPY/RENAME/RESTORE * operation. These commands maintain the key ref only if HFEs are present. * That is, we can only be sure that key ref is valid as long as it is not * "trash". (TODO: dbFind() can be avoided. Instead need to extend the