From 6eb19cf38e30829e7ccb1b6a7551e8688f831485 Mon Sep 17 00:00:00 2001 From: mwish Date: Sun, 21 Jul 2024 05:48:00 +0800 Subject: [PATCH] Typo fix in hyperloglog.c (#807) Change from hypreloglog to hyperloglog Signed-off-by: mwish --- src/hyperloglog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyperloglog.c b/src/hyperloglog.c index f9bce2663..08df8f6a7 100644 --- a/src/hyperloglog.c +++ b/src/hyperloglog.c @@ -673,7 +673,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;