mariadb/storage/xtradb/lock
Marko Mäkelä d0116e10a5 Revert MDEV-18464 and MDEV-12009
This reverts commit 21b2fada7a
and commit 81d71ee6b2.

The MDEV-18464 change introduces a few data race issues. Contrary to
the documentation, the field trx_t::victim is not always being protected
by lock_sys_t::mutex and trx_t::mutex. Most importantly, it seems
that KILL QUERY could wrongly avoid acquiring both mutexes when
invoking lock_trx_handle_wait_low(), in case another thread had
already set trx->victim=true.

We also revert MDEV-12009, because it should depend on the MDEV-18464
fix being present.
2019-03-28 12:39:50 +02:00
..
lock0iter.cc move to storage/xtradb 2015-05-04 19:15:28 +02:00
lock0lock.cc Revert MDEV-18464 and MDEV-12009 2019-03-28 12:39:50 +02:00
lock0wait.cc Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00