summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/geo_near_cmd.cpp
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2015-04-09 10:01:45 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2015-04-17 11:27:21 -0400
commit5a29fa08eeea0ece229102dcd4e7b6580c7acd1d (patch)
tree15d965b370cee5c9bca32f91c3d944ccc04d7038 /src/mongo/db/commands/geo_near_cmd.cpp
parentea32e99a4e06930b2cae7b03882e3fda3333934b (diff)
downloadmongo-5a29fa08eeea0ece229102dcd4e7b6580c7acd1d.tar.gz
SERVER-15860 Switch replication metadata ops to be replication-specific, rather than using commands
Diffstat (limited to 'src/mongo/db/commands/geo_near_cmd.cpp')
-rw-r--r--src/mongo/db/commands/geo_near_cmd.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mongo/db/commands/geo_near_cmd.cpp b/src/mongo/db/commands/geo_near_cmd.cpp
index 066386779de..d543772e0ae 100644
--- a/src/mongo/db/commands/geo_near_cmd.cpp
+++ b/src/mongo/db/commands/geo_near_cmd.cpp
@@ -77,7 +77,12 @@ namespace mongo {
out->push_back(Privilege(parseResourcePattern(dbname, cmdObj), actions));
}
- bool run(OperationContext* txn, const string& dbname, BSONObj& cmdObj, int, string& errmsg, BSONObjBuilder& result, bool fromRepl) {
+ bool run(OperationContext* txn,
+ const string& dbname,
+ BSONObj& cmdObj,
+ int,
+ string& errmsg,
+ BSONObjBuilder& result) {
if (!cmdObj["start"].eoo()) {
errmsg = "using deprecated 'start' argument to geoNear";
return false;