summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2019-07-01 21:58:20 +0530
committerThirunarayanan Balathandayuthapani <thiru@mariadb.com>2019-07-01 21:58:20 +0530
commit41f6e68878df46dd7abc8a98234f58a1fa030592 (patch)
treeffb7690a4d32244122a29ae3ef6939c70a37fd14
parent40c1f4bd4cdd8f8ed69c466e151a2c52f7b79b72 (diff)
downloadmariadb-git-41f6e68878df46dd7abc8a98234f58a1fa030592.tar.gz
MDEV-19781 Add page id matching check in innochecksum tool
- Changed the assert to ignore SRV_LOG_SPACE_FIRST_ID. Post push fix to address the previous commit failure.
-rw-r--r--storage/innobase/fil/fil0fil.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innobase/fil/fil0fil.cc b/storage/innobase/fil/fil0fil.cc
index bc542d36f46..2e2a8317cf6 100644
--- a/storage/innobase/fil/fil0fil.cc
+++ b/storage/innobase/fil/fil0fil.cc
@@ -5057,6 +5057,7 @@ fil_io(
req_type.set_fil_node(node);
ut_ad(!req_type.is_write()
+ || page_id.space() == SRV_LOG_SPACE_FIRST_ID
|| !fil_is_user_tablespace_id(page_id.space())
|| offset == page_id.page_no() * page_size.physical());