summaryrefslogtreecommitdiff
path: root/storage/innobase/include/ut0pool.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.2 into 10.3Marko Mäkelä2018-08-161-10/+10
|\
| * MDEV-16136 Various ASAN failures after MDEV-15030Marko Mäkelä2018-08-161-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The Pool poisoning that was introduced in MDEV-15030 introduced race conditions in AddressSanitizer builds, because concurrent poisoning and unpoisoning were not prevented by any synchronization primitive. Pool::get(): Protect the unpoisoning by m_lock_strategy. Pool::mem_free(): Protect the poisoning by m_lock_strategy. Pool::putl(): Renamed from put(), because now the caller is responsible for invoking m_lock_strategy.
* | Fix most -Wsign-conversion in InnoDBMarko Mäkelä2018-04-281-1/+1
|/ | | | Change innodb_buffer_pool_size, innodb_fill_factor to unsigned.
* MDEV-15030 Add ASAN instrumentation to trx_t PoolMarko Mäkelä2018-04-241-1/+19
| | | | | | | | | | | | | 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.
* Merge InnoDB 5.7 from mysql-5.7.9.Jan Lindström2016-09-021-0/+366
Contains also MDEV-10547: Test multi_update_innodb fails with InnoDB 5.7 The failure happened because 5.7 has changed the signature of the bool handler::primary_key_is_clustered() const virtual function ("const" was added). InnoDB was using the old signature which caused the function not to be used. MDEV-10550: Parallel replication lock waits/deadlock handling does not work with InnoDB 5.7 Fixed mutexing problem on lock_trx_handle_wait. Note that rpl_parallel and rpl_optimistic_parallel tests still fail. MDEV-10156 : Group commit tests fail on 10.2 InnoDB (branch bb-10.2-jan) Reason: incorrect merge MDEV-10550: Parallel replication can't sync with master in InnoDB 5.7 (branch bb-10.2-jan) Reason: incorrect merge