summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_solution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/query_solution.cpp')
-rw-r--r--src/mongo/db/query/query_solution.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/query/query_solution.cpp b/src/mongo/db/query/query_solution.cpp
index 6ba95a37232..b31be410a4d 100644
--- a/src/mongo/db/query/query_solution.cpp
+++ b/src/mongo/db/query/query_solution.cpp
@@ -519,6 +519,7 @@ IndexScanNode::IndexScanNode(IndexEntry index)
index(std::move(index)),
direction(1),
addKeyMetadata(false),
+ shouldDedup(index.multikey),
queryCollator(nullptr) {}
void IndexScanNode::appendToString(mongoutils::str::stream* ss, int indent) const {