mariadb/storage
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
..
archive Merge 10.6 into 10.11 2024-06-27 10:26:09 +03:00
blackhole Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
columnstore Merge branch '10.6' into 10.11 2025-07-28 18:06:31 +02:00
connect Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
csv Merge 10.11 into 11.4 2025-09-03 10:32:56 +03:00
example Merge branch '10.11' into 11.4 2025-06-17 09:50:22 +02:00
federated Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
federatedx Merge branch '10.11' into 11.4 2025-04-26 10:53:02 +02:00
heap Fixed costs in JOIN_TAB::estimate_scan_time() and HEAP 2025-02-10 15:59:28 +02:00
innobase MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
maria Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
mroonga Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
myisam Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
myisammrg Merge 10.11 into 11.4 2025-01-09 07:58:08 +02:00
oqgraph Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
perfschema Merge 10.11 into 11.4 2025-09-03 10:32:56 +03:00
rocksdb Merge 10.11 into 11.4 2025-09-16 17:01:39 +03:00
sequence Merge branch '10.11' into 11.1 2024-07-08 22:40:16 +02:00
sphinx Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
spider MDEV-37204 Fix view protocol for spider/feature.engine_defined_attributes 2025-09-16 19:19:07 +10:00
test_sql_discovery Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00