summaryrefslogtreecommitdiff
path: root/src/btree/bt_vrfy.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-02-05 16:07:24 -0500
committerKeith Bostic <keith@wiredtiger.com>2014-02-05 16:07:24 -0500
commitb174e85b587eef1f8af7b7d14f08fc476889a0c3 (patch)
tree16d4727c4f8cf9043233203b941cc60449b0128d /src/btree/bt_vrfy.c
parent4adabd868acdd540eb93b9bdafcd2394c73dc99e (diff)
downloadmongo-b174e85b587eef1f8af7b7d14f08fc476889a0c3.tar.gz
Add pu_xxx_field #defines for the rest of the page-union fields.
Diffstat (limited to 'src/btree/bt_vrfy.c')
-rw-r--r--src/btree/bt_vrfy.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/btree/bt_vrfy.c b/src/btree/bt_vrfy.c
index 574c703edf8..cacda71f350 100644
--- a/src/btree/bt_vrfy.c
+++ b/src/btree/bt_vrfy.c
@@ -280,13 +280,13 @@ __verify_tree(WT_SESSION_IMPL *session, WT_PAGE *page, WT_VSTUFF *vs)
*/
switch (page->type) {
case WT_PAGE_COL_FIX:
- recno = page->u.col_fix.recno;
+ recno = page->pu_fix_recno;
goto recno_chk;
case WT_PAGE_COL_INT:
- recno = page->u.intl.recno;
+ recno = page->pu_intl_recno;
goto recno_chk;
case WT_PAGE_COL_VAR:
- recno = page->u.col_var.recno;
+ recno = page->pu_var_recno;
recno_chk: if (recno != vs->record_total + 1)
WT_RET_MSG(session, WT_ERROR,
"page at %s has a starting record of %" PRIu64
@@ -519,7 +519,7 @@ __verify_row_leaf_key_order(
*/
if (vs->max_addr->size != 0) {
WT_RET(__wt_row_leaf_key_copy(
- session, page, page->u.row.d, vs->tmp1));
+ session, page, page->pu_row_d, vs->tmp1));
/*
* Compare the key against the largest key we've seen so far.
@@ -544,7 +544,7 @@ __verify_row_leaf_key_order(
/* Update the largest key we've seen to the last key on this page. */
WT_RET(__wt_row_leaf_key_copy(session, page,
- page->u.row.d + (page->pu_row_entries - 1), vs->max_key));
+ page->pu_row_d + (page->pu_row_entries - 1), vs->max_key));
(void)__wt_page_addr_string(session, vs->max_addr, page);
return (0);