mariadb/storage
Denis Protivensky 3a2708a5a9 MDEV-33064: Sync trx->wsrep state from THD on trx start
InnoDB transactions may be reused after committed:
- when taken from the transaction pool
- during a DDL operation execution

In this case wsrep flag on trx object is cleared, which may cause wrong
execution logic afterwards (wsrep-related hooks are not run).

Make trx->wsrep flag initialize from THD object only once on InnoDB transaction
start and don't change it throughout the transaction's lifetime.
The flag is reset at commit time as before.

Unconditionally set wsrep=OFF for THD objects that represent InnoDB background
threads.

Make Wsrep_schema::store_view() operate in its own transaction.

Fix streaming replication transactions' fragments rollback to not switch
THD->wsrep value during transaction's execution
(use THD->wsrep_ignore_table as a workaround).
2025-01-10 14:48:54 +01:00
..
archive Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00
blackhole MDEV-34348: my_hash_get_key fixes 2024-11-23 08:14:22 -07:00
columnstore MCOL-5819 disable lto for ColumnStore 2025-01-09 10:00:35 +01:00
connect Merge 10.5 into 10.6 2025-01-08 08:48:21 +02:00
csv MDEV-34348: Miscellaneous fixes 2024-11-23 08:14:23 -07:00
example Remove dates from all rdiff files 2025-01-05 16:40:11 +02:00
federated Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
federatedx Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
heap MDEV-35469 Heap tables are calling mallocs to often 2025-01-05 16:40:11 +02:00
innobase MDEV-33064: Sync trx->wsrep state from THD on trx start 2025-01-10 14:48:54 +01:00
maria Merge 10.5 into 10.6 2025-01-08 08:48:21 +02:00
mroonga Merge 10.5 into 10.6 2024-12-11 14:46:43 +02:00
myisam Merge 10.5 into 10.6 2025-01-08 08:48:21 +02:00
myisammrg Remove dates from all rdiff files 2025-01-05 16:40:11 +02:00
oqgraph Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
perfschema MDEV-35384 Table performance_schema.session_status and other two tables are not shown in information_schema.tables for normal users 2025-01-09 10:00:35 +01:00
rocksdb mysqltest: fix --sorted_results 2025-01-09 10:00:36 +01:00
sequence MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
sphinx Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
spider Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
test_sql_discovery Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00