mariadb/storage/innobase/fil
Marko Mäkelä a1dc838508 MDEV-37152: Remove many calls to _current_thd()
mtr_t::trx: New public const data member. If it is nullptr,
per-connection statistics will not be updated. The transaction is
not necessarily in active state. We may merely use it as an "anchor"
for buffering updates of buf_pool.stat.n_page_gets in
trx_t::pages_accessed.

As part of this, we try to create mtr_t less often, reusing one object
in multiple places. Some read operations will
invoke mtr_t::rollback_to_savepoint() to release their own page latches
within a larger mini-transactions.
2025-09-25 12:57:45 +03:00
..
fil0crypt.cc MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
fil0fil.cc MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
fil0pagecompress.cc Merge 10.11 into 11.0 2024-01-22 10:10:50 +02:00