diff options
author | DarrenJiang13 <yjjiang1996@163.com> | 2021-08-07 10:27:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-06 19:27:24 -0700 |
commit | 43eb0ce3bf76a5d287b93a767bead9ad6230a1ad (patch) | |
tree | c172843107f7a9b8463f5f277f8b0b04a2461826 /src/object.c | |
parent | 0a9377535b6fd42ca6affa1c939fb859950d8043 (diff) | |
download | redis-43eb0ce3bf76a5d287b93a767bead9ad6230a1ad.tar.gz |
[BUGFIX] Add some missed error statistics (#9328)
add error counting for some missed behaviors.
Diffstat (limited to 'src/object.c')
-rw-r--r-- | src/object.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/object.c b/src/object.c index 317e3bf56..b65430784 100644 --- a/src/object.c +++ b/src/object.c @@ -1402,8 +1402,7 @@ robj *objectCommandLookup(client *c, robj *key) { robj *objectCommandLookupOrReply(client *c, robj *key, robj *reply) { robj *o = objectCommandLookup(c,key); - - if (!o) addReply(c, reply); + if (!o) SentReplyOnKeyMiss(c, reply); return o; } |