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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user