summaryrefslogtreecommitdiff
path: root/src/btree/bt_debug.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_debug.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_debug.c')
-rw-r--r--src/btree/bt_debug.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/btree/bt_debug.c b/src/btree/bt_debug.c
index 279e5cfdc8f..f7f15cb5c4d 100644
--- a/src/btree/bt_debug.c
+++ b/src/btree/bt_debug.c
@@ -452,15 +452,15 @@ __debug_page_hdr(WT_DBG *ds, WT_PAGE *page)
switch (page->type) {
case WT_PAGE_COL_INT:
- __dmsg(ds, " recno %" PRIu64, page->u.intl.recno);
+ __dmsg(ds, " recno %" PRIu64, page->pu_intl_recno);
entries = page->pu_intl_entries;
break;
case WT_PAGE_COL_FIX:
- __dmsg(ds, " recno %" PRIu64, page->u.col_fix.recno);
+ __dmsg(ds, " recno %" PRIu64, page->pu_fix_recno);
entries = page->pu_fix_entries;
break;
case WT_PAGE_COL_VAR:
- __dmsg(ds, " recno %" PRIu64, page->u.col_var.recno);
+ __dmsg(ds, " recno %" PRIu64, page->pu_var_recno);
entries = page->pu_var_entries;
break;
case WT_PAGE_ROW_INT:
@@ -557,7 +557,7 @@ __debug_page_col_fix(WT_DBG *ds, WT_PAGE *page)
session = ds->session;
btree = S2BT(session);
dsk = page->dsk;
- recno = page->u.col_fix.recno;
+ recno = page->pu_fix_recno;
if (dsk != NULL) {
ins = WT_SKIP_FIRST(WT_COL_UPDATE_SINGLE(page));
@@ -629,7 +629,7 @@ __debug_page_col_var(WT_DBG *ds, WT_PAGE *page)
char tag[64];
unpack = &_unpack;
- recno = page->u.col_var.recno;
+ recno = page->pu_var_recno;
WT_COL_FOREACH(page, cip, i) {
if ((cell = WT_COL_PTR(page, cip)) == NULL) {