• Binbin's avatar
    Add test for ziplist (nextdiff == -4 && reqlen < 4) (#9218) · fe5d3251
    Binbin authored
    The if judgement `nextdiff == -4 && reqlen < 4` in __ziplistInsert.
    It's strange, but it's useful. Without it there will be problems during
    chain update.
    Till now these lines didn't have coverage in the tests, and there was
    a question if they are at all needed (#7170)
    fe5d3251
ziplist.c 95.7 KB