• Sergey Vojtovich's avatar
    Move XID_STATE::rm_error to XID_cache_element · f189f34e
    Sergey Vojtovich authored
    XID_STATE::rm_error is never used by internal 2PC, it is intended to be
    used by explicit XA only.
    
    Also removed redundant xid reset from THD::init_for_queries(). Must've
    been done already either by THD::transaction constructor or by
    THD::cleanup().
    
    Part of MDEV-7974 - backport fix for mysql bug#12161 (XA and binlog)
    f189f34e
sql_class.cc 226 KB