summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2012-03-15 11:13:57 -0400
committerKeith Bostic <keith@wiredtiger.com>2012-03-15 11:13:57 -0400
commit9e67b397abc3f7931aa708327011c0acf8e61f60 (patch)
tree23235bb7bb3e21a8dadfb2a1c05c15342e63c4a9
parent10983bfe18461aa7e8bb2268e9087251bc4a997f (diff)
downloadmongo-9e67b397abc3f7931aa708327011c0acf8e61f60.tar.gz
Fix a couple of comments, they didn't get updated with file "offsets"
were replaced with variable-length cookies.
-rw-r--r--src/btree/bt_page.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/btree/bt_page.c b/src/btree/bt_page.c
index 1b59db081a1..21cdddaa635 100644
--- a/src/btree/bt_page.c
+++ b/src/btree/bt_page.c
@@ -341,8 +341,8 @@ __inmem_row_int(WT_SESSION_IMPL *session, WT_PAGE *page, size_t *inmem_sizep)
/*
* Internal row-store page entries map one-to-two to the number of
- * physical entries on the page (each physical entry is a data item
- * and offset object).
+ * physical entries on the page (each in-memory entry is a key item
+ * and location coookie).
*/
nindx = dsk->u.entries / 2;
WT_RET((__wt_calloc_def(session, (size_t)nindx, &page->u.intl.t)));
@@ -358,9 +358,8 @@ __inmem_row_int(WT_SESSION_IMPL *session, WT_PAGE *page, size_t *inmem_sizep)
/*
* Walk the page, instantiating keys: the page contains sorted key and
- * offpage-reference pairs. Keys are row store internal pages with
- * on-page/overflow (WT_CELL_KEY/KEY_OVFL) items, and offpage references
- * are WT_CELL_OFF items.
+ * location cookie pairs. Keys are on-page/overflow items and location
+ * cookies are WT_CELL_ADDR items.
*/
ref = page->u.intl.t;
WT_CELL_FOREACH(btree, dsk, cell, unpack, i) {