summaryrefslogtreecommitdiff
path: root/src/block/block_slvg.c
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@wiredtiger.com>2012-01-01 11:54:07 +0000
committerKeith Bostic <keith.bostic@wiredtiger.com>2012-01-01 11:54:07 +0000
commit5a37329cf601e4e23038bfc87cbcb9ffc2e7d8a7 (patch)
treee74b52274bbbec1a248e890990f7952d6728f8ce /src/block/block_slvg.c
parentb15486d66c545620088416a244d9fb9692f53cdb (diff)
downloadmongo-5a37329cf601e4e23038bfc87cbcb9ffc2e7d8a7.tar.gz
Rename WT_PAGE_HEADER->memsize to WT_PAGE_HEADER->size (it's the page
size, not the allocated size of a memory buffer, which is what memsize means everywhere else). Rename WT_BLOCK_HEADER->size to WT_BLOCK_HEADER->disk_size (it's the on-disk size, not the size of some data, which is what size means everywhere else).
Diffstat (limited to 'src/block/block_slvg.c')
-rw-r--r--src/block/block_slvg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/block_slvg.c b/src/block/block_slvg.c
index a822ba2bb91..50a0d65fc83 100644
--- a/src/block/block_slvg.c
+++ b/src/block/block_slvg.c
@@ -103,7 +103,7 @@ __wt_block_salvage_next(
* The page can't be more than the min/max page size, or past
* the end of the file.
*/
- size = blk->size;
+ size = blk->disk_size;
cksum = blk->cksum;
if (size == 0 ||
size % allocsize != 0 ||