summaryrefslogtreecommitdiff
path: root/src/mongo/db/pdfile.h
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2012-01-04 17:30:14 -0500
committerdwight <dwight@10gen.com>2012-01-04 17:30:14 -0500
commitb90da6fdc0ee0543d07f0add5d042ed3bf8c2efd (patch)
treeff73662c71e0113689144abaf793a92bb5943cbf /src/mongo/db/pdfile.h
parent4f6b54fce8bb2fae13b9bff824fde2cede998afb (diff)
downloadmongo-b90da6fdc0ee0543d07f0add5d042ed3bf8c2efd.tar.gz
checkpoint
Diffstat (limited to 'src/mongo/db/pdfile.h')
-rw-r--r--src/mongo/db/pdfile.h4
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