summaryrefslogtreecommitdiff
path: root/src/include/btree.h
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-03-29 16:58:34 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-03-29 16:58:34 -0400
commita88a10e40019680b67bffa98578f5893a137937d (patch)
tree9f9371e8c2663fa8b740fbf0e1a8f56a4f75b1ee /src/include/btree.h
parent052de27595c6c6fd2e551a2ec2029e10ddb03555 (diff)
downloadmongo-a88a10e40019680b67bffa98578f5893a137937d.tar.gz
Experimental change: move the WT_PAGE.{parent,ref_hint} fields into the
WT_REF structure.
Diffstat (limited to 'src/include/btree.h')
-rw-r--r--src/include/btree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/btree.h b/src/include/btree.h
index d01482065a8..241e3ade26e 100644
--- a/src/include/btree.h
+++ b/src/include/btree.h
@@ -102,7 +102,7 @@ struct __wt_btree {
uint64_t last_recno; /* Column-store last record number */
- WT_PAGE *root_page; /* Root page */
+ WT_REF root_page; /* Root page */
int modified; /* If the tree ever modified */
int bulk_load_ok; /* Bulk-load is a possibility */
@@ -111,7 +111,7 @@ struct __wt_btree {
uint64_t write_gen; /* Write generation */
- WT_PAGE *evict_page; /* Eviction thread's location */
+ WT_REF *evict_page; /* Eviction thread's location */
uint64_t evict_priority; /* Relative priority of cached pages */
u_int evict_walk_period; /* Skip this many LRU walks */
u_int evict_walk_skips; /* Number of walks skipped */