mariadb/storage
Marko Mäkelä 10901d7502 MDEV-36190: Optimize transaction_lock_guard use
buf_pool_t::page_guess(): Avoid a memory transaction, because
we would be checking several conditions inside it. Synchronize
with buf_page_t::init() in order to avoid false guesses.

buf_page_t::init(): Release-store the state after storing id_,
in order to properly synchronize-with buf_pool_t::page_guess().

buf_pool_t::page_hash_table::append(): Define non-inline.

buf_pool_t::page_hash_table::replace(),
buf_pool_t::page_hash_table::remove(): Move the inline definition
to the compilation unit of the only caller, to declutter the header.

buf_page_create_low(), buf_page_init_for_read(): Do not initialize
the block descriptor before holding a latch on buf_pool.page_hash,
in order to avoid false positive matches in buf_pool_t::page_guess().

trx_undo_report_row_operation(): Check the cheaper and less likely
condition first.

Also, remove several redundant TRANSACTIONAL_TARGET.
Some of the remaining ones will be made redundant by
commit 9c8bdc6c15 (MDEV-35049).
2025-09-23 16:17:58 +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-36190: Optimize transaction_lock_guard use 2025-09-23 16:17:58 +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