diff options
Diffstat (limited to 'src/mongo/db/exec/idhack.cpp')
-rw-r--r-- | src/mongo/db/exec/idhack.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/exec/idhack.cpp b/src/mongo/db/exec/idhack.cpp index b287dc12531..13a5837b53d 100644 --- a/src/mongo/db/exec/idhack.cpp +++ b/src/mongo/db/exec/idhack.cpp @@ -39,7 +39,6 @@ #include "mongo/db/exec/projection.h" #include "mongo/db/exec/scoped_timer.h" #include "mongo/db/exec/working_set_common.h" -#include "mongo/db/exec/working_set_computed_data.h" #include "mongo/db/index/btree_access_method.h" namespace mongo { @@ -133,8 +132,7 @@ PlanStage::StageState IDHackStage::advance(WorkingSetID id, if (_addKeyMetadata) { BSONObj ownedKeyObj = member->obj.value()["_id"].wrap().getOwned(); - member->addComputed( - new IndexKeyComputedData(IndexKeyComputedData::rehydrateKey(_key, ownedKeyObj))); + member->metadata().setIndexKey(IndexKeyEntry::rehydrateKey(_key, ownedKeyObj)); } _done = true; |