1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-17073 INSERT…ON DUPLICATE KEY UPDATE became more deadlock-prone

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.
This commit is contained in:
Marko Mäkelä
2018-11-02 14:17:19 +02:00
parent cfa047069e
commit 8a346f31b9
9 changed files with 109 additions and 77 deletions

View File

@ -0,0 +1,3 @@
# See innodb_binlog.combinations
# --log-bin is ignored in the embedded server
--source include/not_embedded.inc