diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-04-24 17:44:20 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-04-26 09:44:01 -0400 |
commit | 381a35be63129419516c77825c2a27e7fc447e63 (patch) | |
tree | 90285bbc743edac9f5354bd308cc65498cde8d15 /src/mongo/db/query/idhack_runner.cpp | |
parent | bced3d215a395fa2872b9931d971fef7138d3e94 (diff) | |
download | mongo-381a35be63129419516c77825c2a27e7fc447e63.tar.gz |
SERVER-13632 Get rid of DiskLoc::obj (Part 1)
DiskLoc::obj references the durability subsystem through thread local
variables. With this change the accesses become explicit through the
collection.
Diffstat (limited to 'src/mongo/db/query/idhack_runner.cpp')
-rw-r--r-- | src/mongo/db/query/idhack_runner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/idhack_runner.cpp b/src/mongo/db/query/idhack_runner.cpp index c57aee98ec2..fcd7b0fce8b 100644 --- a/src/mongo/db/query/idhack_runner.cpp +++ b/src/mongo/db/query/idhack_runner.cpp @@ -156,7 +156,7 @@ namespace mongo { } // Either the data was in memory or we paged it in. - *objOut = loc.obj(); + *objOut = _collection->docFor(loc); // If we're sharded make sure the key belongs to us. We need the object to do this. if (shardingState.needCollectionMetadata(_collection->ns().ns())) { |