mirror of
https://github.com/MariaDB/server.git
synced 2026-01-24 12:24:46 +01:00
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. Reviewed by: Vladislav Lesin Tested by: Saahil Alam |
||
|---|---|---|
| .. | ||
| dict0boot.cc | ||
| dict0crea.cc | ||
| dict0dict.cc | ||
| dict0load.cc | ||
| dict0mem.cc | ||
| dict0stats.cc | ||
| dict0stats_bg.cc | ||
| drop.cc | ||