diff options
author | dwight <dwight@10gen.com> | 2011-06-20 10:17:42 -0400 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2011-06-20 10:17:42 -0400 |
commit | 8e1b5c26abe57b7484d6c36be3168d680a0d6f88 (patch) | |
tree | 5718e5ca25f3d4fc7c4b45597bc4b44033b07a37 /db/btreebuilder.cpp | |
parent | e95cab54294452b8e71cf6cc4fff4befec701bd9 (diff) | |
download | mongo-8e1b5c26abe57b7484d6c36be3168d680a0d6f88.tar.gz |
56 bit disklocs in btree v1
Diffstat (limited to 'db/btreebuilder.cpp')
-rw-r--r-- | db/btreebuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/btreebuilder.cpp b/db/btreebuilder.cpp index 38678b01d95..577e157d92c 100644 --- a/db/btreebuilder.cpp +++ b/db/btreebuilder.cpp @@ -48,7 +48,7 @@ namespace mongo { template<class V> void BtreeBuilder<V>::newBucket() { DiskLoc L = BtreeBucket<V>::addBucket(idx); - b->tempNext() = L; + b->setTempNext(L); cur = L; b = cur.btreemod<V>(); } @@ -123,7 +123,7 @@ namespace mongo { if ( ! up->_pushBack(r, k, ordering, keepLoc) ) { // current bucket full DiskLoc n = BtreeBucket<V>::addBucket(idx); - up->tempNext() = n; + up->setTempNext(n); upLoc = n; up = upLoc.btreemod<V>(); up->pushBack(r, k, ordering, keepLoc); |