• Sergey Vojtovich's avatar
    BUG#51342 - more xid crashing · 8478e707
    Sergey Vojtovich authored
    SET autocommit=1 while XA transaction is active may
    cause various side effects, including memory corruption
    and server crash.
    
    The problem is that SET autocommit=1 and further queries
    attempt to commit local transaction, whereas XA transaction
    is still active.
    
    As local and XA transactions are mutually exclusive, this
    patch forbids enabling autocommit mode while XA transaction
    is active.
    8478e707
xa.test 2.78 KB