summaryrefslogtreecommitdiff
path: root/db/btree.cpp
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2011-08-23 08:47:18 +0200
committerAntonin Kral <a.kral@bobek.cz>2011-08-23 08:47:18 +0200
commita3bbc293c62e68425bdf6f8e983e2bfaa97ab06e (patch)
tree835c5b2f35a8ad1b46a49680524dfe884cae1d1b /db/btree.cpp
parentbf8d466302e046d534b67751d012669f43bf672a (diff)
parentcbe2d992e9cd1ea66af9fa91df006106775d3073 (diff)
downloadmongodb-a3bbc293c62e68425bdf6f8e983e2bfaa97ab06e.tar.gz
Merge commit 'upstream/1.8.3'
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?