Skip to content
Permalink
Browse files
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.
  • Loading branch information
dr-m committed Feb 7, 2020
1 parent 2b260f2 commit 91e7b44
Showing 1 changed file with 0 additions and 1 deletion.
@@ -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);
}

0 comments on commit 91e7b44

Please sign in to comment.