Skip to content

Commit 4de91b7

Browse files
Marko Mäkeläbjornmu
authored andcommitted
Post-push fix for Bug#20691930 (innodb_zip.wl5522_debug_zip failure):
Do not attempt to reset the page type when importing compressed tablespaces. The page type can be invalid only on uncompressed tablespaces, because at the time when compression support was introduced, InnoDB already initialized FIL_PAGE_TYPE on every page. (cherry picked from commit 8823190d8898a0d02ebeae1cb4906550f788660c)
1 parent 518d3e4 commit 4de91b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/row/row0import.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ PageConverter::operator() (
20852085
|| fil_page_type_is_index(page_type)) {
20862086

20872087
buf_flush_init_for_writing(
2088-
block,
2088+
!is_compressed_table() ? block : NULL,
20892089
!is_compressed_table()
20902090
? block->frame : block->page.zip.data,
20912091
!is_compressed_table() ? 0 : m_page_zip_ptr,

0 commit comments

Comments
 (0)