summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/query.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ops/query.cpp')
-rw-r--r--src/mongo/db/ops/query.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/ops/query.cpp b/src/mongo/db/ops/query.cpp
index 5d41d07938c..3a0e8d70674 100644
--- a/src/mongo/db/ops/query.cpp
+++ b/src/mongo/db/ops/query.cpp
@@ -682,7 +682,7 @@ namespace mongo {
const BSONObj &query, const BSONObj &order,
const shared_ptr<ParsedQuery> &pq_shared,
const BSONObj &oldPlan,
- const ConfigVersion &shardingVersionAtStart,
+ const ChunkVersion &shardingVersionAtStart,
scoped_ptr<PageFaultRetryableSection>& parentPageFaultSection,
scoped_ptr<NoPageFaultsAllowed>& noPageFault,
Message &result ) {
@@ -1025,7 +1025,7 @@ namespace mongo {
try {
Client::ReadContext ctx( ns , dbpath ); // read locks
- const ConfigVersion shardingVersionAtStart = shardingState.getVersion( ns );
+ const ChunkVersion shardingVersionAtStart = shardingState.getVersion( ns );
replVerifyReadsOk(&pq);