Don't abort if there is a checksum failure during verification or salvage: we check that path in the test suite.

This commit is contained in:
Michael Cahill
2014-01-02 14:29:07 +11:00
parent 6f9b27ffc7
commit 9dd055a6e5

View File

@@ -182,7 +182,12 @@ __wt_block_read_off(WT_SESSION_IMPL *session,
PRIu32 "B @ %" PRIuMAX ", %"
PRIu32 " != %" PRIu32 "]",
size, (uintmax_t)offset, cksum, page_cksum);
WT_ASSERT(session, cksum == page_cksum);
/*
* Abort if there is a checksum failure during an
* ordinary read.
*/
WT_ASSERT(session, block->verify);
}
return (WT_ERROR);
}