Skip to content

Commit 02f4937

Browse files
committed
SERVER-13635: fix BtreeInterface change by removing dead variable
1 parent 152dd4f commit 02f4937

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/mongo/db/index/btree_based_access_method.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ namespace mongo {
212212

213213

214214
Status BtreeBasedAccessMethod::touch( OperationContext* txn ) const {
215-
return _btree->touch(txn);
215+
return _newInterface->touch(txn);
216216
}
217217

218218
DiskLoc BtreeBasedAccessMethod::findSingle(const BSONObj& key) const {

src/mongo/db/index/btree_based_access_method.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ namespace mongo {
123123
virtual void getKeys(const BSONObj &obj, BSONObjSet *keys) = 0;
124124

125125
IndexCatalogEntry* _btreeState; // owned by IndexCatalogEntry
126-
scoped_ptr<BtreeInterface> _btree; // owned by us
127126
const IndexDescriptor* _descriptor;
128127

129128
private:

0 commit comments

Comments
 (0)