• Andrei Elkin's avatar
    MDEV-21659 XA rollback foreign_xid is allowed inside active XA · dd3ffdbd
    Andrei Elkin authored
    MDEV-21854 xa commit `xid` one phase for already prepared transaction must always error out
    
    Added state and one-phase option checks to XA "external" commit/rollback
    branches. While the XA standard does not prohibit it,
    Commit and Rollback of an XA external to the current ongoing transaction
    is not allowed; after all the current transaction may rollback
    to not being able to revert that decision.
    dd3ffdbd
xa.cc 23.5 KB