• Mats Kindahl's avatar
    Bug #40004 Replication failure with no PK + no indexes · 2019f172
    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.
    2019f172
rpl_row_basic_7ndb.result 13.8 KB