mariadb/storage/xtradb/row
Marko Mäkelä ca40330d1d Fix a deadlock in thd_report_wait_for()
Unlike commit a54abf0175 claimed,
the caller of THD::awake() may actually hold the InnoDB lock_sys->mutex.
That commit introduced a deadlock of threads in the replication slave
when running the test rpl.rpl_parallel_optimistic_nobinlog.

lock_trx_handle_wait(): Expect the callers to acquire and release
lock_sys->mutex and trx->mutex.

innobase_kill_query(): Restore the logic for conditionally acquiring
and releasing the mutexes. THD::awake() can be called from inside
InnoDB while holding one or both mutexes, via thd_report_wait_for() and
via wsrep_innobase_kill_one_trx().
2018-03-16 08:23:56 +02:00
..
row0ext.cc Revert "MDEV-6928: Add trx pointer to struct mtr_t" 2018-01-29 11:05:17 +02:00
row0ftsort.cc Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
row0import.cc Merge 10.0 into 10.1 2018-02-08 13:29:08 +02:00
row0ins.cc Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
row0log.cc Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
row0merge.cc Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
row0mysql.cc MDEV-14611 ALTER TABLE EXCHANGE PARTITION does not work properly when used with DATA DIRECTORY. 2018-02-10 22:17:49 +04:00
row0purge.cc 5.6.38-83.0 2018-01-23 18:04:34 +02:00
row0quiesce.cc Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
row0row.cc Merge remote-tracking branch '5.5' into 10.0 2018-01-24 12:29:31 +02:00
row0sel.cc Fix a deadlock in thd_report_wait_for() 2018-03-16 08:23:56 +02:00
row0uins.cc Merge 10.0 into 10.1 2017-08-28 15:05:46 +03:00
row0umod.cc Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
row0undo.cc Merge 10.0 into 10.1 2017-12-13 19:12:16 +02:00
row0upd.cc Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
row0vers.cc move to storage/xtradb 2015-05-04 19:15:28 +02:00