summaryrefslogtreecommitdiff
path: root/storage/innobase/ibuf/ibuf0ibuf.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-02-13 19:13:45 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-02-13 19:13:45 +0200
commitf8a9f906679e1d1ab026c245f7d24c652050d8b3 (patch)
treecb6f6eb922e7af2a139fca3cd8f5292375179c7c /storage/innobase/ibuf/ibuf0ibuf.cc
parent7ae21b18a6b73bbc3bf1ff448faf60c29ac1d386 (diff)
downloadmariadb-git-f8a9f906679e1d1ab026c245f7d24c652050d8b3.tar.gz
MDEV-12353: Remove support for crash-upgradebb-10.5-MDEV-12353
We tighten some assertions regarding dict_index_t::is_dummy and crash recovery, now that redo log processing will no longer create dummy objects.
Diffstat (limited to 'storage/innobase/ibuf/ibuf0ibuf.cc')
-rw-r--r--storage/innobase/ibuf/ibuf0ibuf.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/storage/innobase/ibuf/ibuf0ibuf.cc b/storage/innobase/ibuf/ibuf0ibuf.cc
index a13035ef0a2..94a5af0015c 100644
--- a/storage/innobase/ibuf/ibuf0ibuf.cc
+++ b/storage/innobase/ibuf/ibuf0ibuf.cc
@@ -521,25 +521,6 @@ ibuf_max_size_update(
mutex_exit(&ibuf_mutex);
}
-
-/** Apply MLOG_IBUF_BITMAP_INIT when crash-upgrading */
-ATTRIBUTE_COLD void ibuf_bitmap_init_apply(buf_block_t* block)
-{
- page_t* page;
- ulint byte_offset;
-
- page = buf_block_get_frame(block);
- fil_page_set_type(page, FIL_PAGE_IBUF_BITMAP);
-
- /* Write all zeros to the bitmap */
- compile_time_assert(!(IBUF_BITS_PER_PAGE % 2));
-
- byte_offset = UT_BITS_IN_BYTES(block->physical_size()
- * IBUF_BITS_PER_PAGE);
-
- memset(page + IBUF_BITMAP, 0, byte_offset);
-}
-
# ifdef UNIV_DEBUG
/** Gets the desired bits for a given page from a bitmap page.
@param[in] page bitmap page