summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/distinct_scan.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-07-24 15:16:48 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-07-26 10:53:22 -0400
commit86defa9d193f34275af2c4f3c783dffb046182ff (patch)
tree1a57517f940cecc40d99030191a411d7f32283e7 /src/mongo/db/exec/distinct_scan.cpp
parent8235ad20a6169b8713ffba991afcd50519e1345b (diff)
downloadmongo-86defa9d193f34275af2c4f3c783dffb046182ff.tar.gz
SERVER-28752 Get rid of BatchedInsertRequest::getIndexTargetingNS
In preparation for removing the Batched Insert/Update/Delete Request parser classes.
Diffstat (limited to 'src/mongo/db/exec/distinct_scan.cpp')
-rw-r--r--src/mongo/db/exec/distinct_scan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/distinct_scan.cpp b/src/mongo/db/exec/distinct_scan.cpp
index 380bcf3474b..2b37e2ef38b 100644
--- a/src/mongo/db/exec/distinct_scan.cpp
+++ b/src/mongo/db/exec/distinct_scan.cpp
@@ -81,7 +81,7 @@ PlanStage::StageState DistinctScan::doWork(WorkingSetID* out) {
if (!_cursor)
_cursor = _iam->newCursor(getOpCtx(), _params.direction == 1);
kv = _cursor->seek(_seekPoint);
- } catch (const WriteConflictException& wce) {
+ } catch (const WriteConflictException&) {
*out = WorkingSet::INVALID_ID;
return PlanStage::NEED_YIELD;
}