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.
This commit is contained in:
parent
2b260f2ddd
commit
91e7b44399
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user