mariadb/storage/innobase/buf
Marko Mäkelä b51be24e97 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-26 15:33:04 +03:00
..
buf0buddy.cc Merge 10.11 into 11.4 2025-05-13 13:44:58 +03:00
buf0buf.cc MDEV-37152: Remove many calls to _current_thd() 2025-09-26 15:33:04 +03:00
buf0checksum.cc Cleanup: Replace ut_crc32c(x,y) with my_crc32c(0,x,y) 2022-01-21 16:13:04 +02:00
buf0dblwr.cc MDEV-37152: Remove many calls to _current_thd() 2025-09-26 15:33:04 +03:00
buf0dump.cc Merge 10.11 into 11.4 2025-03-28 13:55:21 +02:00
buf0flu.cc Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
buf0lru.cc MDEV-37152: Remove many calls to _current_thd() 2025-09-26 15:33:04 +03:00
buf0rea.cc MDEV-37152: Reimplement innodb_buffer_pool_read_requests 2025-09-26 15:32:49 +03:00