summaryrefslogtreecommitdiff
path: root/src/mongo/s/query
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2016-04-07 18:04:16 -0400
committerTess Avitabile <tess.avitabile@mongodb.com>2016-04-07 18:04:38 -0400
commit507b138941ed82d73fc31fde4f7324425a38cf8e (patch)
tree93626e89e4e42b3adee776acc213846a1de5d822 /src/mongo/s/query
parent4eb0f3cf1bc1132ff54c8274117272bf23ad2018 (diff)
downloadmongo-507b138941ed82d73fc31fde4f7324425a38cf8e.tar.gz
SERVER-23094 Add collator parameter to the find command
Diffstat (limited to 'src/mongo/s/query')
-rw-r--r--src/mongo/s/query/cluster_find.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/s/query/cluster_find.cpp b/src/mongo/s/query/cluster_find.cpp
index 8f697a37595..9b64eca0fb5 100644
--- a/src/mongo/s/query/cluster_find.cpp
+++ b/src/mongo/s/query/cluster_find.cpp
@@ -109,6 +109,7 @@ std::unique_ptr<LiteParsedQuery> transformQueryForShards(const LiteParsedQuery&
lpq.getSort(),
lpq.getHint(),
lpq.getReadConcern(),
+ lpq.getCollation(),
boost::none, // Don't forward skip.
newLimit,
lpq.getBatchSize(),