mariadb/storage/innobase/btr
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
..
btr0btr.cc MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
btr0bulk.cc MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
btr0cur.cc MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
btr0pcur.cc Merge 10.11 into 11.2 2024-09-10 18:35:16 +03:00
btr0sea.cc MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00