diff options
author | antirez <antirez@gmail.com> | 2015-07-26 15:29:53 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-07-26 15:29:53 +0200 |
commit | 2d9e3eb107b6b6289d5e3a51a32b3a018c96103c (patch) | |
tree | 379b4a8c2498a9be22d2f2b9ea3970669ebe42e5 /src/hyperloglog.c | |
parent | 14ff572482cfe02c5ac61a1816cb8099d458e499 (diff) | |
download | redis-2d9e3eb107b6b6289d5e3a51a32b3a018c96103c.tar.gz |
RDMF: redisAssert -> serverAssert.
Diffstat (limited to 'src/hyperloglog.c')
-rw-r--r-- | src/hyperloglog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hyperloglog.c b/src/hyperloglog.c index fb56e5538..8e18f5261 100644 --- a/src/hyperloglog.c +++ b/src/hyperloglog.c @@ -877,7 +877,7 @@ promote: /* Promote to dense representation. */ * is propagated to slaves / AOF, so if there is a sparse -> dense * convertion, it will be performed in all the slaves as well. */ int dense_retval = hllDenseAdd(hdr->registers, ele, elesize); - redisAssert(dense_retval == 1); + serverAssert(dense_retval == 1); return dense_retval; } @@ -1108,7 +1108,7 @@ robj *createHLLObject(void) { p += 2; aux -= xzero; } - redisAssert((p-(uint8_t*)s) == sparselen); + serverAssert((p-(uint8_t*)s) == sparselen); /* Create the actual object. */ o = createObject(OBJ_STRING,s); |