diff options
author | Antonin Kral <a.kral@bobek.cz> | 2012-05-10 06:57:57 +0200 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2012-05-10 06:57:57 +0200 |
commit | 8813daaab256108f7aa6300875e8562d031f2c2f (patch) | |
tree | 06daade9022f76b2775d23f4613817365a2ded99 /db/dbcommands.cpp | |
parent | d72a59184a3d51b17b30ed20fe656421bd4d2248 (diff) | |
parent | 61619b3142c1de8f60f91964ff2656054d4f11a6 (diff) | |
download | mongodb-8813daaab256108f7aa6300875e8562d031f2c2f.tar.gz |
Merge tag 'upstream/2.0.5'
Upstream version 2.0.5
Diffstat (limited to 'db/dbcommands.cpp')
-rw-r--r-- | db/dbcommands.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/dbcommands.cpp b/db/dbcommands.cpp index fc6327c..fb6a902 100644 --- a/db/dbcommands.cpp +++ b/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() ); |