summaryrefslogtreecommitdiff
path: root/db/btree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/btree.cpp')
-rw-r--r--db/btree.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/btree.cpp b/db/btree.cpp
index 242c534..299c212 100644
--- a/db/btree.cpp
+++ b/db/btree.cpp
@@ -1642,6 +1642,7 @@ namespace mongo {
}
DiskLoc BtreeBucket::findSingle( const IndexDetails& indexdetails , const DiskLoc& thisLoc, const BSONObj& key ) const {
+ indexdetails.checkVersion();
int pos;
bool found;
// TODO: is it really ok here that the order is a default?