From 3da97ea67f3b25097d5a57aeda9ce5d94461035e Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 16 Jul 2015 09:14:39 +0200 Subject: [PATCH] Add sdshdr5 to DEBUG structsize. --- src/debug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/debug.c b/src/debug.c index 3f7a8535..0d2f2424 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));