• Monty's avatar
    MDEV-15532 Assertion `!log->same_pk' failed in row_log_table_apply_delete · a3531775
    Monty authored
    The real fix for MDEV-15532 will be pushed into 10.2 and 10.6
    This is an additional fix for 10.4.
    
    In 10.4 trans_xa_detach was introduced.  However THD::cleanup() assumes
    that after trans_xa_detach() is done, there is no registered transactions
    anymore. In the 10.2 patch there will be an assert to ensure this, which
    will cause 10.4 to fail.
    
    The fix used is to reset the transaction flags in trans_xa_detach().
    a3531775
xa.cc 22.9 KB