• antirez's avatar
    AOF rewrite: set iterator var to NULL when freed. · 4433f5a7
    antirez authored
    The cleanup code expects that if 'di' is not NULL, it is a valid
    iterator that should be freed.
    
    The result of this bug was a crash of the AOF rewriting process if an
    error occurred after the DBs data are written and the iterator is no
    longer valid.
    4433f5a7
aof.c 57.8 KB