Commit 91e7b443 authored by Marko Mäkelä's avatar Marko Mäkelä

mtr_t::get_log_mode(): Remove a redundant assertion

mtr_log_t and mtr_t::m_log_mode have the same range 0 to 3.
parent 2b260f2d
......@@ -165,7 +165,6 @@ struct mtr_t {
mtr_log_t get_log_mode() const
{
static_assert(MTR_LOG_ALL == 0, "efficiency");
ut_ad(m_log_mode <= MTR_LOG_SHORT_INSERTS);
return static_cast<mtr_log_t>(m_log_mode);
}
......
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