diff options
author | dwight <dwight@10gen.com> | 2012-01-04 17:30:14 -0500 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2012-01-04 17:30:14 -0500 |
commit | b90da6fdc0ee0543d07f0add5d042ed3bf8c2efd (patch) | |
tree | ff73662c71e0113689144abaf793a92bb5943cbf /src/mongo/db/pdfile.h | |
parent | 4f6b54fce8bb2fae13b9bff824fde2cede998afb (diff) | |
download | mongo-b90da6fdc0ee0543d07f0add5d042ed3bf8c2efd.tar.gz |
checkpoint
Diffstat (limited to 'src/mongo/db/pdfile.h')
-rw-r--r-- | src/mongo/db/pdfile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/pdfile.h b/src/mongo/db/pdfile.h index b610c3f98ae..a1471b30fa1 100644 --- a/src/mongo/db/pdfile.h +++ b/src/mongo/db/pdfile.h @@ -490,7 +490,9 @@ namespace mongo { inline const BtreeBucket<V> * DiskLoc::btree() const { assert( _a != -1 ); - return (const BtreeBucket<V> *) rec()->data; + Record *r = rec(); + memconcept::is(r, memconcept::concept::btreebucket, "", 8192); + return (const BtreeBucket<V> *) r->data; } } // namespace mongo |