MDEV-8139: Fix the MSAN instrumentation

parent d2c593c2
......@@ -207,7 +207,7 @@ class range_set
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)
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment