From b174e85b587eef1f8af7b7d14f08fc476889a0c3 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Wed, 5 Feb 2014 16:07:24 -0500 Subject: Add pu_xxx_field #defines for the rest of the page-union fields. --- src/btree/bt_debug.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/btree/bt_debug.c') 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) { -- cgit v1.2.1