summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/distinct_scan.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2015-01-23 20:02:43 -0500
committerMathias Stearn <mathias@10gen.com>2015-02-13 15:29:33 -0500
commit5ffcf2f281d58aac6c27cbbf49407f18cb86eaf0 (patch)
tree633d61efe5498835c52030d03f59879a39c72ca2 /src/mongo/db/exec/distinct_scan.cpp
parent3d5aee54e4f45cc516d64bfef0d682e93e264258 (diff)
downloadmongo-5ffcf2f281d58aac6c27cbbf49407f18cb86eaf0.tar.gz
SERVER-17062 Make query execution handle WriteConflictExceptions where possible
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 a0b4e4e0271..1a5468a72b1 100644
--- a/src/mongo/db/exec/distinct_scan.cpp
+++ b/src/mongo/db/exec/distinct_scan.cpp
@@ -152,7 +152,7 @@ namespace mongo {
WorkingSetID id = _workingSet->allocate();
WorkingSetMember* member = _workingSet->get(id);
member->loc = loc;
- member->keyData.push_back(IndexKeyDatum(_descriptor->keyPattern(), ownedKeyObj));
+ member->keyData.push_back(IndexKeyDatum(_descriptor->keyPattern(), ownedKeyObj, _iam));
member->state = WorkingSetMember::LOC_AND_IDX;
*out = id;