diff options
Diffstat (limited to 'src/redis.c')
-rw-r--r-- | src/redis.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/redis.c b/src/redis.c index 0ea7813a2..a2b05083d 100644 --- a/src/redis.c +++ b/src/redis.c @@ -1335,18 +1335,6 @@ sds genRedisInfoString(void) { ); } - info = sdscat(info,"allocation_stats:"); - for (j = 0; j <= ZMALLOC_MAX_ALLOC_STAT; j++) { - size_t count = zmalloc_allocations_for_size(j); - if (count) { - if (info[sdslen(info)-1] != ':') info = sdscatlen(info,",",1); - info = sdscatprintf(info,"%s%d=%zu", - (j == ZMALLOC_MAX_ALLOC_STAT) ? ">=" : "", - j,count); - } - } - info = sdscat(info,"\r\n"); - for (j = 0; j < server.dbnum; j++) { long long keys, vkeys; |