diff --git a/src/hyperloglog.c b/src/hyperloglog.c index 65ee55157ff2b364a641ed606250119b68597331..9b67c905be7020b84927eaaa0fd4d2e66a49a1d9 100644 --- a/src/hyperloglog.c +++ b/src/hyperloglog.c @@ -440,6 +440,7 @@ void hllAddCommand(redisClient *c) { * is guaranteed to return bytes initialized to zero. */ o = createObject(REDIS_STRING,sdsnewlen(NULL,REDIS_HLL_SIZE)); dbAdd(c->db,c->argv[1],o); + updated++; } else { /* Key exists, check type */ if (checkType(c,o,REDIS_STRING))