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/db.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/db.c')
-rw-r--r-- | src/db.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -165,7 +165,7 @@ robj *lookupKeyWriteWithFlags(redisDb *db, robj *key, int flags) { robj *lookupKeyWrite(redisDb *db, robj *key) { return lookupKeyWriteWithFlags(db, key, LOOKUP_NONE); } -static void SentReplyOnKeyMiss(client *c, robj *reply){ +void SentReplyOnKeyMiss(client *c, robj *reply){ serverAssert(sdsEncodedObject(reply)); sds rep = reply->ptr; if (sdslen(rep) > 1 && rep[0] == '-'){ |