• antirez's avatar
    hllSparseToDense(): sanity check added. · a7dbd28c
    antirez authored
    The function checks if all the HLL_REGISTERS were processed during the
    convertion from sparse to dense encoding, returning REDIS_OK or
    REDIS_ERR to signal a corruption problem.
    
    A bug in PFDEBUG GETREG was fixed: when the object is converted to the
    dense representation we need to reassign the new pointer to the header
    structure pointer.
    a7dbd28c
hyperloglog.c 47.6 KB