]> git.saurik.com Git - redis.git/blobdiff - src/config.c
Fix for the previous port 0 patch, thanks to Pieter for noticing the error
[redis.git] / src / config.c
index 219c99ca0936a35c34bb5209aa3b43a9b58ec85b..5d2c316b1a0c741d6a7281e5e2a51c0b6dd9b948 100644 (file)
@@ -555,6 +555,7 @@ void configCommand(redisClient *c) {
         server.stat_numcommands = 0;
         server.stat_numconnections = 0;
         server.stat_expiredkeys = 0;
+        resetCommandTableStats();
         addReply(c,shared.ok);
     } else {
         addReplyError(c,