diff options
author | Keith Bostic <keith@wiredtiger.com> | 2013-11-12 19:17:48 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2013-11-12 19:17:48 -0500 |
commit | 44a438ac4a2c59a0e093b0ca14869fdec38de247 (patch) | |
tree | a30fa4c70c173d6b51fab4cd79add782c7371420 /src/btree/bt_misc.c | |
parent | 8b3c071bb2694bc232fe369ceefb70ae99b079c7 (diff) | |
download | mongo-44a438ac4a2c59a0e093b0ca14869fdec38de247.tar.gz |
Compaction changes: fix a bug, we were skipping internal pages if they
didn't need to be rewritten, but we can't do that, we have to read and
traverse them in order to visit all the leaf pages that might need to
be rewritten.
Diffstat (limited to 'src/btree/bt_misc.c')
-rw-r--r-- | src/btree/bt_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_misc.c b/src/btree/bt_misc.c index 64946061be4..874c19c9cce 100644 --- a/src/btree/bt_misc.c +++ b/src/btree/bt_misc.c @@ -98,7 +98,7 @@ __wt_page_addr_string(WT_SESSION_IMPL *session, WT_ITEM *buf, WT_PAGE *page) return (buf->data); } - __wt_get_addr(page->parent, page->ref, &addr, &size); + __wt_ref_info(page->parent, page->ref, &addr, &size, NULL); return (__wt_addr_string(session, buf, addr, size)); } |