diff options
author | yarai <yuta.arai@10gen.com> | 2018-10-02 13:06:27 -0400 |
---|---|---|
committer | yarai <yuta.arai@10gen.com> | 2018-10-15 11:44:17 -0400 |
commit | e62512d50329877c84a7b2404c8c6158479efede (patch) | |
tree | b22562f7b861997c3619fd96bfeede2480cf6a43 /src/mongo/db/query/query_solution.cpp | |
parent | e5c39e225effd4a28937c32c84ac3dc0c1ceb355 (diff) | |
download | mongo-e62512d50329877c84a7b2404c8c6158479efede.tar.gz |
SERVER-37417 Plans using $** wildcard indices can return duplicate results
Diffstat (limited to 'src/mongo/db/query/query_solution.cpp')
-rw-r--r-- | src/mongo/db/query/query_solution.cpp | 1 |
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 { |