summaryrefslogtreecommitdiff
path: root/storage/myisam
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-04-24 20:24:11 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-04-24 20:33:27 +0300
commit7b5543b21d31bd1517b49c2524a05b5b83fd9691 (patch)
tree25d92b945eea07ff9d44a7e07a95184f0ffa2580 /storage/myisam
parent8346acaf807587da751fdded5eb87fd72f5268a5 (diff)
downloadmariadb-git-7b5543b21d31bd1517b49c2524a05b5b83fd9691.tar.gz
MDEV-15030 Add ASAN instrumentation to trx_t Pool
Pool::mem_free(): Poison the freed memory. Assert that it was fully initialized, because the reuse of trx_t objects will assume that the objects were previously initialized. Pool::~Pool(), Pool::get(): Unpoison the allocated memory, and mark it initialized. trx_free(): After invoking Pool::mem_free(), unpoison trx_t::mutex and trx_t::undo_mutex, because MutexMonitor will access these even for freed trx_t objects.
Diffstat (limited to 'storage/myisam')
0 files changed, 0 insertions, 0 deletions