diff options
author | Keith Bostic <keith@wiredtiger.com> | 2016-04-17 15:12:01 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2016-04-17 15:12:01 -0400 |
commit | 18b06173700a0832a4d8dbd991dbf5d37c4bd5fc (patch) | |
tree | bd6b4089d3f0a100b01b703aad6368f7d7af4d81 /src/btree/row_key.c | |
parent | 68c5dc70e1e94108241fec33bc23ceca3978a7cc (diff) | |
download | mongo-18b06173700a0832a4d8dbd991dbf5d37c4bd5fc.tar.gz |
WT-2558: WT_PAGE structure is 72B, reduce to 64B.
Remove the WT_PAGE record number field (used in internal and column-store
leaf pages), instead, use the record number from the WT_REF structure.
Diffstat (limited to 'src/btree/row_key.c')
-rw-r--r-- | src/btree/row_key.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/btree/row_key.c b/src/btree/row_key.c index 9fff092d079..83fd2dad9e4 100644 --- a/src/btree/row_key.c +++ b/src/btree/row_key.c @@ -517,7 +517,7 @@ __wt_row_ikey(WT_SESSION_IMPL *session, { uintptr_t oldv; - oldv = (uintptr_t)ref->key.ikey; + oldv = (uintptr_t)ref->ref_ikey; WT_DIAGNOSTIC_YIELD; /* @@ -527,10 +527,10 @@ __wt_row_ikey(WT_SESSION_IMPL *session, WT_ASSERT(session, oldv == 0 || (oldv & WT_IK_FLAG) != 0); WT_ASSERT(session, ref->state != WT_REF_SPLIT); WT_ASSERT(session, - __wt_atomic_cas_ptr(&ref->key.ikey, (WT_IKEY *)oldv, ikey)); + __wt_atomic_cas_ptr(&ref->ref_ikey, (WT_IKEY *)oldv, ikey)); } #else - ref->key.ikey = ikey; + ref->ref_ikey = ikey; #endif return (0); } |