• Mats Kindahl's avatar
    Bug #40004 Replication failure with no PK + no indexes · 6a387b7f
    Mats Kindahl authored
    In certain situations, a scan of the table will return the error
    code HA_ERR_RECORD_DELETED, and this error code is not 
    correctly caught in the Rows_log_event::find_row() function, which
    causes an error to be returned for this case.
    
    This patch fixes the problem by adding code to either ignore the
    record and continuing with the next one, the the event of a table
    scan, or change the error code to HA_ERR_KEY_NOT_FOUND, in the event
    that a key lookup is attempted.
    6a387b7f
log_event_old.cc 93.8 KB