• Dmitry Shulga's avatar
    This patch fixes the bug#13737343 (formerly known as 64374): XA TRANSACTIONS · 1a7e7a0f
    Dmitry Shulga authored
    AND SAVEPOINT.
          
    The bug was introduced by the patch for bug#11766752. This patch sets too
    strong condition on XA state for SAVEPOINT statement that disallows its
    execution during XA transaction. But since the statement SAVEPOINT doesn't
    imply implicit commit we can allow its handling during XA transaction.
    
    The patch explicitly check for transaction state against states XA_NOTR
    and XA_ACTIVE for which the handling of statement SAVEPOINT for XA
    transaction is allowed.
    1a7e7a0f
transaction.cc 19.8 KB