summaryrefslogtreecommitdiff
path: root/src/btree/bt_debug.c
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@wiredtiger.com>2011-12-18 17:34:11 +0000
committerKeith Bostic <keith.bostic@wiredtiger.com>2011-12-18 17:34:11 +0000
commita807d3e1868d610dfaa94e433c89b2622d8b8882 (patch)
tree451e62ff7a143e6879e64307fba5e71b2892792e /src/btree/bt_debug.c
parent20af83d504b8bdae6ee33fc7f42e899c6b05cf4f (diff)
downloadmongo-a807d3e1868d610dfaa94e433c89b2622d8b8882.tar.gz
Split u.col_leaf into two parts (u.col_fix and u.col_var), and move the
column-store append/update lists from WT_PAGE into WT_PAGE_MODIFY in order to shrink WT_PAGE. --HG-- extra : rebase_source : 6d7df0f5b50351cabfec464eccfa0b49b8b0f35a
Diffstat (limited to 'src/btree/bt_debug.c')
-rw-r--r--src/btree/bt_debug.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/btree/bt_debug.c b/src/btree/bt_debug.c
index 938e8e96700..8291618f73d 100644
--- a/src/btree/bt_debug.c
+++ b/src/btree/bt_debug.c
@@ -461,8 +461,10 @@ __debug_page_hdr(WT_DBG *ds, WT_PAGE *page)
__dmsg(ds, " recno %" PRIu64, page->u.col_int.recno);
break;
case WT_PAGE_COL_FIX:
+ __dmsg(ds, " recno %" PRIu64, page->u.col_fix.recno);
+ break;
case WT_PAGE_COL_VAR:
- __dmsg(ds, " recno %" PRIu64, page->u.col_leaf.recno);
+ __dmsg(ds, " recno %" PRIu64, page->u.col_var.recno);
break;
case WT_PAGE_ROW_INT:
case WT_PAGE_ROW_LEAF:
@@ -580,7 +582,7 @@ __debug_page_col_fix(WT_DBG *ds, WT_PAGE *page)
session = ds->session;
btree = session->btree;
dsk = page->dsk;
- recno = page->u.col_leaf.recno;
+ recno = page->u.col_fix.recno;
if (dsk != NULL) {
ins = WT_SKIP_FIRST(WT_COL_UPDATE_SINGLE(page));
@@ -651,7 +653,7 @@ __debug_page_col_var(WT_DBG *ds, WT_PAGE *page)
char tag[64];
unpack = &_unpack;
- recno = page->u.col_leaf.recno;
+ recno = page->u.col_var.recno;
WT_COL_FOREACH(page, cip, i) {
if ((cell = WT_COL_PTR(page, cip)) == NULL) {