diff options
author | Keith Bostic <keith.bostic@wiredtiger.com> | 2011-12-17 17:57:45 +0000 |
---|---|---|
committer | Keith Bostic <keith.bostic@wiredtiger.com> | 2011-12-17 17:57:45 +0000 |
commit | e7038697261d94f52bc2fef638519a8c1ad60cc1 (patch) | |
tree | ba1060da8ce09cfb0273254b132fb64852c2664e /test/salvage | |
parent | 1187d187021d6229aad874c4a1b57d1722585fb0 (diff) | |
download | mongo-e7038697261d94f52bc2fef638519a8c1ad60cc1.tar.gz |
Replace WT_OFF/WT_OFF_RECORD structures on row- and column-store internal
pages with variable length address cookies.
--HG--
extra : rebase_source : cfcfa6948a709ec0e3ff2682628feab59e83438d
Diffstat (limited to 'test/salvage')
-rw-r--r-- | test/salvage/salvage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/salvage/salvage.c b/test/salvage/salvage.c index 5ac50751a6e..9fabd1ed741 100644 --- a/test/salvage/salvage.c +++ b/test/salvage/salvage.c @@ -552,8 +552,8 @@ copy(u_int lsn, u_int recno) dsk->lsn = lsn; if (page_type != WT_PAGE_ROW_LEAF) dsk->recno = recno; - dsk->checksum = 0; - dsk->checksum = __wt_cksum(dsk, PSIZE); + dsk->cksum = 0; + dsk->cksum = __wt_cksum(dsk, PSIZE); assert(fwrite(buf, 1, PSIZE, ofp) == PSIZE); /* |