mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
After-merge fix: Correct an assertion
During IMPORT TABLESPACE, we do invoke buf_flush_init_for_writing() with block==NULL and newest_lsn!=0.
This commit is contained in:
@@ -854,7 +854,7 @@ buf_flush_init_for_writing(
|
||||
ut_ad(block == NULL || block->frame == page);
|
||||
ut_ad(block == NULL || page_zip_ == NULL
|
||||
|| &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(!srv_safe_truncate || !newest_lsn || fil_page_get_type(page));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user