• Pieter Noordhuis's avatar
    Fix updating the prevlen field of consecutive entries · 169d2ef1
    Pieter Noordhuis authored
    In the condition where the prevlen field of the next entry on insert
    and delete operations needs more bytes to be properly encoded, the next
    entry also needs to be updated with a new prevlen. This patch makes sure
    that this effect cascades throughout the ziplist.
    169d2ef1
ziplist.c 38.8 KB