summaryrefslogtreecommitdiff
path: root/src/mongo/db/clientcursor.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/clientcursor.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/clientcursor.cpp')
-rw-r--r--src/mongo/db/clientcursor.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mongo/db/clientcursor.cpp b/src/mongo/db/clientcursor.cpp
index 9fc4c309aa5..d0919fce1ab 100644
--- a/src/mongo/db/clientcursor.cpp
+++ b/src/mongo/db/clientcursor.cpp
@@ -339,8 +339,12 @@ namespace mongo {
actions.addAction(ActionType::cursorInfo);
out->push_back(Privilege(ResourcePattern::forClusterResource(), actions));
}
- bool run(OperationContext* txn, const string& dbname, BSONObj& jsobj, int, string& errmsg, BSONObjBuilder& result,
- bool fromRepl ) {
+ bool run(OperationContext* txn,
+ const string& dbname,
+ BSONObj& jsobj,
+ int,
+ string& errmsg,
+ BSONObjBuilder& result) {
_appendCursorStats( result );
return true;
}