diff options
author | David Storch <david.storch@10gen.com> | 2015-08-24 16:20:14 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2015-09-01 09:42:09 -0400 |
commit | 90715c4e616649b79b4563ecf68e72afb9951753 (patch) | |
tree | d57625a98ea6b7562e4bfbacd3e2677b2fa03474 /src/mongo/db/commands/distinct.cpp | |
parent | 0786b3a4a6330a9857303c7053ba478ed233e9a1 (diff) | |
download | mongo-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.cpp | 1 |
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); |