• Marko Mäkelä's avatar
    MDEV-17073 INSERT…ON DUPLICATE KEY UPDATE became more deadlock-prone · 8a346f31
    Marko Mäkelä authored
    thd_rpl_stmt_based(): A new predicate to check if statement-based
    replication is active. (This can also hold when replication is not
    in use, but binlog is.)
    
    que_thr_stop(), row_ins_duplicate_error_in_clust(),
    row_ins_sec_index_entry_low(), row_ins(): On a duplicate key error,
    only lock all index records when statement-based replication is in use.
    8a346f31
auto_increment_dup,skip-log-bin.rdiff 1.09 KB