mariadb/storage
Marko Mäkelä b1742a5c95 MDEV-13626: Improve innodb.xa_recovery_debug
Improve the test that was imported and adapted for MariaDB in
commit fb217449dc.

row_undo_step(): Move the DEBUG_SYNC point from trx_rollback_for_mysql().
This DEBUG_SYNC point is executed after rolling back one row.

trx_rollback_for_mysql(): Clarify the comments that describe the scenario,
and remove the DEBUG_SYNC point.

If the statement "if (trx->has_logged_persistent())" and its body are
removed from trx_rollback_for_mysql(), then the test
innodb.xa_recovery_debug will fail because the transaction would still
exist in the XA PREPARE state. If we allow the XA COMMIT statement
to succeed in the test, we would observe an incorrect state of the
XA transaction where the table would contain row (1,NULL). Depending
on whether the XA transaction was committed, the table should either
be empty or contain the record (1,1). The intermediate state of
(1,NULL) should never be observed after completed recovery.
2020-04-01 09:13:01 +03:00
..
archive Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
blackhole MDEV-11094: Blackhole table updates on slave fail when row annotation is enabled 2019-05-29 17:35:29 +05:30
cassandra Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
connect Connect: Remove some unused variables 2020-03-21 12:52:07 +02:00
csv Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
example Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
federated Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
federatedx Merge 10.1 into 10.2 2019-04-03 19:58:47 +03:00
heap MDEV-21082: isnan/isinf compilation errors, isfinite warnings on MacOS 2019-11-19 16:28:15 +03:00
innobase MDEV-13626: Improve innodb.xa_recovery_debug 2020-04-01 09:13:01 +03:00
maria MDEV-21981 Replace arithmetic + with bitwise OR when possible 2020-03-19 15:09:13 +02:00
mroonga Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
myisam MDEV-21981 Replace arithmetic + with bitwise OR when possible 2020-03-19 15:09:13 +02:00
myisammrg Fix GCC 10.0 -Wstringop-overflow 2020-03-13 12:09:19 +02:00
oqgraph Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
perfschema Fix GCC 10 -Wstringop-truncation 2020-03-13 07:39:14 +02:00
rocksdb MDEV-21930 RocksDB does not compile anymore, with Visual Studio 2020-03-23 11:25:01 +01:00
sequence Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
sphinx MDEV-20647 Fix and enable SphinxSE tests 2019-09-30 15:47:09 +03:00
spider MDEV-17508 Fix bug for spider when using "not like" 2019-11-25 15:40:01 +01:00
test_sql_discovery Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
tokudb MDEV-14330: move tokudb manpages to right packages 2020-01-28 18:27:18 +02:00
xtradb Merge 10.1 into 10.2 2020-03-13 07:20:36 +02:00