Commit 1e1b53cc authored by Marko Mäkelä's avatar Marko Mäkelä

After-merge fix: Correct an assertion

During IMPORT TABLESPACE, we do invoke
buf_flush_init_for_writing() with block==NULL and newest_lsn!=0.
parent 966d97b5
...@@ -854,7 +854,7 @@ buf_flush_init_for_writing( ...@@ -854,7 +854,7 @@ buf_flush_init_for_writing(
ut_ad(block == NULL || block->frame == page); ut_ad(block == NULL || block->frame == page);
ut_ad(block == NULL || page_zip_ == NULL ut_ad(block == NULL || page_zip_ == NULL
|| &block->page.zip == page_zip_); || &block->page.zip == page_zip_);
ut_ad(!srv_safe_truncate || !block == !newest_lsn); ut_ad(!srv_safe_truncate || !block || newest_lsn);
ut_ad(page); ut_ad(page);
ut_ad(!srv_safe_truncate || !newest_lsn || fil_page_get_type(page)); ut_ad(!srv_safe_truncate || !newest_lsn || fil_page_get_type(page));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment