• Marko Mäkelä's avatar
    MDEV-15326: Backport trx_t::is_referenced() · dae1b3b0
    Marko Mäkelä authored
    Backport the applicable part of Sergey Vojtovich's commit
    0ca2ea1a from MariaDB Server 10.3.
    
    trx reference counter was updated under mutex and read without any
    protection. This is both slow and unsafe. Use atomic operations for
    reference counter accesses.
    dae1b3b0
trx0trx.h 43.6 KB