MDEV-8139: Fix the MSAN instrumentation

This commit is contained in:
Thirunarayanan Balathandayuthapani 2020-06-12 21:57:12 +05:30
parent d2c593c2a6
commit d34cc6b3fd
2 changed files with 3 additions and 1 deletions

View File

@ -207,7 +207,7 @@ public:
return remove_within_range(range, value);
}
/** Add the value within the existing range
@param[in] range_set::add_rangerange range to be modified
@param[in] range range to be modified
@param[in] value value to be added */
range_set_t::iterator add_within_range(range_set_t::iterator range,
uint32_t value)

View File

@ -354,7 +354,9 @@ struct mtr_write_log_t {
/** Start a mini-transaction. */
void mtr_t::start()
{
MEM_CHECK_DEFINED(&m_freed_ranges, sizeof m_freed_ranges);
UNIV_MEM_INVALID(this, sizeof *this);
UNIV_MEM_VALID(&m_freed_ranges, sizeof m_freed_ranges);
ut_d(m_start= true);
ut_d(m_commit= false);