summaryrefslogtreecommitdiff
path: root/storage/innobase/include/ut0rnd.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-09-03 13:04:05 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-09-04 09:42:38 +0300
commitdae1b3b04c839b25233700c7ff7def578c545508 (patch)
treec5c538f92e6835d9879226387a5cf0fed08ece08 /storage/innobase/include/ut0rnd.h
parentb07beff8943d083cf900c8f2ea0a386a84d9f8db (diff)
downloadmariadb-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