diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-09-03 13:04:05 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-09-04 09:42:38 +0300 |
commit | dae1b3b04c839b25233700c7ff7def578c545508 (patch) | |
tree | c5c538f92e6835d9879226387a5cf0fed08ece08 /storage/innobase/include/ut0rnd.h | |
parent | b07beff8943d083cf900c8f2ea0a386a84d9f8db (diff) | |
download | mariadb-git-dae1b3b04c839b25233700c7ff7def578c545508.tar.gz |
MDEV-15326: Backport trx_t::is_referenced()
Backport the applicable part of Sergey Vojtovich's commit
0ca2ea1a6550bb718efc878ed451be69e8244cd4 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.
Diffstat (limited to 'storage/innobase/include/ut0rnd.h')
0 files changed, 0 insertions, 0 deletions