Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

emptycapped can be replicated

  • Loading branch information...
commit 97ab12742ac1779448d725521f805b8cb2f5f25f 1 parent 09db1bc
@erh erh authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  db/dbcommands.cpp
View
1  db/dbcommands.cpp
@@ -1760,6 +1760,7 @@ namespace mongo {
virtual bool slaveOk() const { return false; }
virtual LockType locktype() const { return WRITE; }
virtual bool requiresAuth() { return true; }
+ virtual bool logTheOp() { return true; }
virtual bool run(const string& dbname , BSONObj& cmdObj, int, string& errmsg, BSONObjBuilder& result, bool) {
string coll = cmdObj[ "emptycapped" ].valuestrsafe();
uassert( 13428, "emptycapped must specify a collection", !coll.empty() );
Please sign in to comment.
Something went wrong with that request. Please try again.