mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
branches/zip:
buf_flush_buffered_writes(): Remove bogus assertion failure.
This commit is contained in:
parent
6ff00e1dbb
commit
693056253e
1 changed files with 9 additions and 7 deletions
|
@ -265,8 +265,8 @@ buf_flush_buffered_writes(void)
|
|||
}
|
||||
|
||||
if (!block->check_index_page_at_flush) {
|
||||
} else if (page_is_comp(block->frame)
|
||||
&& UNIV_UNLIKELY(!page_simple_validate_new(
|
||||
} else if (page_is_comp(block->frame)) {
|
||||
if (UNIV_UNLIKELY(!page_simple_validate_new(
|
||||
block->frame))) {
|
||||
corrupted_page:
|
||||
buf_page_print(block->frame);
|
||||
|
@ -277,9 +277,11 @@ corrupted_page:
|
|||
"InnoDB: to be written to data file. We intentionally crash server\n"
|
||||
"InnoDB: to prevent corrupt data from ending up in data\n"
|
||||
"InnoDB: files.\n",
|
||||
(ulong) block->offset, (ulong) block->space);
|
||||
(ulong) block->offset,
|
||||
(ulong) block->space);
|
||||
|
||||
ut_error;
|
||||
}
|
||||
} else if (UNIV_UNLIKELY(!page_simple_validate_old(
|
||||
block->frame))) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue