mariadb/plugin/metadata_lock_info
Sergey Vojtovich 82a96926a7 MDEV-9728 - Hard crash in metadata_lock_info
metadata_lock_info plugin called MDL_context::find_ticket() to obtain lock
duration, which in turn iterates foreign thread private lists. These lists
can be updated by owner thread without protection.

Fixed by iterating threads (instead of MDL locks and tickets) and obtaining
data through APC.

Also fixed mdl_iterate_lock() to initialize iterator under prlock protection.
2016-06-21 17:04:57 +04:00
..
mysql-test/metadata_lock_info MDEV-9728 - Hard crash in metadata_lock_info 2016-06-21 17:04:57 +04:00
CMakeLists.txt add metadata_lock_info 2013-12-11 00:31:04 +09:00
metadata_lock_info.cc MDEV-9728 - Hard crash in metadata_lock_info 2016-06-21 17:04:57 +04:00