diff options
author | antirez <antirez@gmail.com> | 2015-07-16 09:14:39 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-07-16 09:14:39 +0200 |
commit | 3da97ea67f3b25097d5a57aeda9ce5d94461035e (patch) | |
tree | c55edf9f58411ef0f6b085ba10f4baf345099072 | |
parent | 0ab27a4594aa73ffdabf2afb935d85ab6c03f0ee (diff) | |
download | redis-3da97ea67f3b25097d5a57aeda9ce5d94461035e.tar.gz |
Add sdshdr5 to DEBUG structsize.
-rw-r--r-- | src/debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c index 3f7a85357..0d2f24245 100644 --- a/src/debug.c +++ b/src/debug.c @@ -423,6 +423,7 @@ void debugCommand(redisClient *c) { sizes = sdscatprintf(sizes,"bits:%d ",(sizeof(void*) == 8)?64:32); sizes = sdscatprintf(sizes,"robj:%d ",(int)sizeof(robj)); sizes = sdscatprintf(sizes,"dictentry:%d ",(int)sizeof(dictEntry)); + sizes = sdscatprintf(sizes,"sdshdr5:%d ",(int)sizeof(struct sdshdr5)); sizes = sdscatprintf(sizes,"sdshdr8:%d ",(int)sizeof(struct sdshdr8)); sizes = sdscatprintf(sizes,"sdshdr16:%d ",(int)sizeof(struct sdshdr16)); sizes = sdscatprintf(sizes,"sdshdr32:%d ",(int)sizeof(struct sdshdr32)); |