summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/distinct.cpp
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2015-08-24 16:20:14 -0400
committerDavid Storch <david.storch@10gen.com>2015-09-01 09:42:09 -0400
commit90715c4e616649b79b4563ecf68e72afb9951753 (patch)
treed57625a98ea6b7562e4bfbacd3e2677b2fa03474 /src/mongo/db/commands/distinct.cpp
parent0786b3a4a6330a9857303c7053ba478ed233e9a1 (diff)
downloadmongo-90715c4e616649b79b4563ecf68e72afb9951753.tar.gz
SERVER-19341 fix read preference and slaveOk handling for the find command
Diffstat (limited to 'src/mongo/db/commands/distinct.cpp')
-rw-r--r--src/mongo/db/commands/distinct.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/commands/distinct.cpp b/src/mongo/db/commands/distinct.cpp
index dd1e4d7da3f..773b83ee31d 100644
--- a/src/mongo/db/commands/distinct.cpp
+++ b/src/mongo/db/commands/distinct.cpp
@@ -127,6 +127,7 @@ public:
const std::string& dbname,
const BSONObj& cmdObj,
ExplainCommon::Verbosity verbosity,
+ const rpc::ServerSelectionMetadata&,
BSONObjBuilder* out) const {
const string ns = parseNs(dbname, cmdObj);
AutoGetCollectionForRead ctx(txn, ns);