• Luis Soares's avatar
    BUG#11753004: 44360: REPLICATION FAILED · ce8077d8
    Luis Soares authored
                      
    The server crashes if it processes table map events that are
    corrupted, especially if they map different tables to the same
    identifier. This could happen, for instance, due to BUG 56226.
                      
    We fix this by checking whether the table map has already been
    mapped before actually applying the event. If it has been mapped
    with different settings an error is raised and the slave SQL
    thread stops. If it has been mapped with same settings the event
    is skipped. If the table is set to be ignored by the filtering
    rules, there is no change in behavior: the event is skipped and
    ids are not checked.
    ce8077d8
log_event.cc 311 KB