Commit e5019d3f authored by Jan Lindström's avatar Jan Lindström

MDEV-10908: innodb_zip.bug56680 fails in buildbot with InnoDB: Failing...

MDEV-10908: innodb_zip.bug56680 fails in buildbot with InnoDB: Failing assertion: bpage->id.space() == page_id.space()

Incorrect merge introduced too strict assertion.
parent 737295c7
/***************************************************************************** /*****************************************************************************
Copyright (c) 1995, 2015, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 1995, 2015, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2015. MariaDB Corporation. Copyright (c) 2015, 2016 MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software the terms of the GNU General Public License as published by the Free Software
...@@ -180,17 +180,10 @@ buf_read_page_low( ...@@ -180,17 +180,10 @@ buf_read_page_low(
IORequest request(type | IORequest::READ); IORequest request(type | IORequest::READ);
ut_ad(dst != NULL);
ut_ad(bpage->zip.data != NULL || ((buf_block_t*)bpage)->frame != NULL);
*err = fil_io( *err = fil_io(
request, sync, page_id, page_size, 0, page_size.physical(), request, sync, page_id, page_size, 0, page_size.physical(),
dst, bpage, NULL); dst, bpage, NULL);
ut_ad(dst != NULL);
ut_ad(bpage->zip.data != NULL || ((buf_block_t*)bpage)->frame != NULL);
ut_ad(bpage->id.space() == page_id.space());
if (sync) { if (sync) {
thd_wait_end(NULL); thd_wait_end(NULL);
} }
...@@ -218,8 +211,6 @@ buf_read_page_low( ...@@ -218,8 +211,6 @@ buf_read_page_low(
} }
if (sync) { if (sync) {
ut_ad(dst != NULL);
ut_ad(bpage->zip.data != NULL || ((buf_block_t*)bpage)->frame != NULL);
/* The i/o is already completed when we arrive from /* The i/o is already completed when we arrive from
fil_read */ fil_read */
......
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