diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-02-07 13:29:08 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-02-07 13:29:08 +0200 |
commit | 91e7b443997731822f8e9b9b7e261f6fe8ded99e (patch) | |
tree | 0588a0317974ca1cb55be9234ab28b32a80a0552 | |
parent | 2b260f2dddee8eb5a1296b0055caa638bf1bd0c5 (diff) | |
download | mariadb-git-91e7b443997731822f8e9b9b7e261f6fe8ded99e.tar.gz |
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.
-rw-r--r-- | storage/innobase/include/mtr0mtr.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/innobase/include/mtr0mtr.h b/storage/innobase/include/mtr0mtr.h index e721be9903e..8a546690a90 100644 --- a/storage/innobase/include/mtr0mtr.h +++ b/storage/innobase/include/mtr0mtr.h @@ -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); } |