mariadb/storage/innobase
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
..
btr MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
buf MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
data MDEV-29694 Remove the InnoDB change buffer 2023-01-11 17:59:36 +02:00
dict MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
eval MDEV-37619 The forced use of THD accessors hurts InnoDB performance 2025-09-16 15:18:32 +03:00
fil MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
fsp MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
fts MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
fut MDEV-35689 InnoDB system tables cannot be optimized or defragmented 2025-04-10 17:13:34 +05:30
gis MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
ha MDEV-35472 Server crash in ha_storage_put_memlim upon reading from INNODB_LOCKS 2024-11-25 10:31:57 +02:00
handler MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
ibuf MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
include MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
lock MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
log MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
mem Cleanup: Remove duplicated code 2024-11-29 14:16:34 +02:00
mtr MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
mysql-test/storage_engine MDEV-36330: SERIALIZABLE read inconsistency 2025-07-11 16:07:08 +03:00
os Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
page MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
pars Merge 10.6 into 10.11 2025-02-25 10:23:24 +02:00
que MDEV-24035 Failing assertion: UT_LIST_GET_LEN(lock.trx_locks) == 0 causing disruption and replication failure 2024-12-12 18:02:00 +02:00
read MDEV-34515: Contention between purge and workload 2024-08-26 12:23:06 +03:00
rem Merge 10.11 into 11.0 2024-03-28 10:51:36 +02:00
row MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
srv MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
sync MDEV-35566 Ensure compatibility with ARMv9 by updating .arch directive 2025-08-15 09:47:40 +03:00
trx MDEV-37152: Remove many calls to _current_thd() 2025-09-25 12:57:45 +03:00
unittest MDEV-35587 unit.innodb_sync leaks memory on mac 2024-12-12 10:27:36 +11:00
ut MDEV-36759: Huge performance drop 2025-05-13 12:27:50 +03:00
.clang-format-old switch off storage/innobase/.clang-format: InnoDB uses a common formatting style for all new code 2021-03-17 11:01:15 +03:00
CMakeLists.txt Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
COPYING.Google
COPYING.Percona