mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 11:41:20 +00:00
Merge pull request #2301 from mattsta/fix/lengths
Improve type correctness
This commit is contained in:
@ -336,10 +336,10 @@ void debugCommand(redisClient *c) {
|
||||
|
||||
addReplyStatusFormat(c,
|
||||
"Value at:%p refcount:%d "
|
||||
"encoding:%s serializedlength:%lld "
|
||||
"encoding:%s serializedlength:%zu "
|
||||
"lru:%d lru_seconds_idle:%llu%s",
|
||||
(void*)val, val->refcount,
|
||||
strenc, (long long) rdbSavedObjectLen(val),
|
||||
strenc, rdbSavedObjectLen(val),
|
||||
val->lru, estimateObjectIdleTime(val)/1000, extra);
|
||||
} else if (!strcasecmp(c->argv[1]->ptr,"sdslen") && c->argc == 3) {
|
||||
dictEntry *de;
|
||||
|
Reference in New Issue
Block a user