summaryrefslogtreecommitdiff
path: root/BUILD/compile-dist
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-11-14 11:40:33 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-11-14 11:40:33 +0200
commit3d4a80153345209bad736235d4f66dcaa51a9d51 (patch)
treed9b6b5e1fcbe8e1e96b7c02880ee25bf84a7437b /BUILD/compile-dist
parent4ded5fb9ac0cf94ec0d16b69acebdecc4066c5f2 (diff)
downloadmariadb-git-3d4a80153345209bad736235d4f66dcaa51a9d51.tar.gz
MDEV-12353 preparation: Replace mtr_x_lock() and friends
Apart from page latches (buf_block_t::lock), mini-transactions are keeping track of at most one dict_index_t::lock and fil_space_t::latch at a time, and in a rare case, purge_sys.latch. Let us introduce interfaces for acquiring an index latch or a tablespace latch. In a later version, we may want to introduce mtr_t members for holding a latched dict_index_t* and fil_space_t*, and replace the remaining use of mtr_t::m_memo with std::set<buf_block_t*> or with a map<buf_block_t*,byte*> pointing to log records.
Diffstat (limited to 'BUILD/compile-dist')
0 files changed, 0 insertions, 0 deletions