1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Revert "MDEV-35019 Provide a way to enable "rollback XA on disconnect" behavior we had before 10.5.2"

This reverts commit 8ae462a220.
This commit is contained in:
Sergei Golubchik
2024-10-16 13:23:47 +02:00
parent 8ae462a220
commit 5ebda30ccc
12 changed files with 1 additions and 152 deletions

View File

@ -1553,12 +1553,7 @@ void THD::cleanup(void)
close_temporary_tables();
if (transaction->xid_state.is_explicit_XA())
{
if (unlikely(variables.legacy_xa_rollback_at_disconnect))
xa_trans_force_rollback(this);
else
trans_xa_detach(this);
}
trans_xa_detach(this);
else
trans_rollback(this);