From 89742a95dbd4e95f5112136e4bcff698195e205c Mon Sep 17 00:00:00 2001 From: c8ef Date: Fri, 2 Aug 2024 07:49:52 +0800 Subject: [PATCH] Fix typo in `hyperloglog.c` (#13458) --- src/hyperloglog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperloglog.c b/src/hyperloglog.c index cb0929f47..ff851d55d 100644 --- a/src/hyperloglog.c +++ b/src/hyperloglog.c @@ -648,7 +648,7 @@ int hllSparseSet(robj *o, long index, uint8_t count) { * for future reallocates on incremental growth. But we do not allocate more than * 'server.hll_sparse_max_bytes' bytes for the sparse representation. * If the available size of hyperloglog sds string is not enough for the increment - * we need, we promote the hypreloglog to dense representation in 'step 3'. + * we need, we promote the hyperloglog to dense representation in 'step 3'. */ if (sdsalloc(o->ptr) < server.hll_sparse_max_bytes && sdsavail(o->ptr) < 3) { size_t newlen = sdslen(o->ptr) + 3;