summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_stage_fetch.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2014-04-25 14:13:11 -0400
committerMathias Stearn <mathias@10gen.com>2014-04-25 15:54:50 -0400
commit6112a08c4019e9f714dc4f4c4935adf8782829b5 (patch)
tree2eee5e293bb20fec2ab194c14e6987f7882e53e5 /src/mongo/dbtests/query_stage_fetch.cpp
parent6fbc9d572a24ce45090dfabaf8f44c64a369900a (diff)
downloadmongo-6112a08c4019e9f714dc4f4c4935adf8782829b5.tar.gz
SERVER-13634 Get rid of all external callers of DiskLoc::rec()
DiskLoc::obj() and DiskLoc::btree() are the only remianing callers, other than disabled tests.
Diffstat (limited to 'src/mongo/dbtests/query_stage_fetch.cpp')
-rw-r--r--src/mongo/dbtests/query_stage_fetch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/query_stage_fetch.cpp b/src/mongo/dbtests/query_stage_fetch.cpp
index 0d4cf3b836c..568f28a301e 100644
--- a/src/mongo/dbtests/query_stage_fetch.cpp
+++ b/src/mongo/dbtests/query_stage_fetch.cpp
@@ -134,7 +134,7 @@ namespace QueryStageFetch {
// Let's do the fetch ourselves (though it doesn't really matter)
WorkingSetMember* member = ws.get(id);
ASSERT_FALSE(member->hasObj());
- member->loc.rec()->touch();
+ coll->getRecordStore()->recordFor(member->loc)->touch();
// Next call to work() should give us the object in a diff. state
state = fetchStage->work(&id);