summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbcommands_generic.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2014-04-29 15:23:45 -0400
committerMathias Stearn <mathias@10gen.com>2014-04-30 10:48:16 -0400
commit36370def1e19eed5fcabd468253c5be0d2b22366 (patch)
treed26b73db74a8d2429179f70f438c931e001e985f /src/mongo/db/dbcommands_generic.cpp
parent6d0f155cdd27b019b2f1ccc4b6b7e8e2c8271b54 (diff)
downloadmongo-36370def1e19eed5fcabd468253c5be0d2b22366.tar.gz
SERVER-13643 Kill Command::logTheOp and have Commands log their own ops
This is necessary to ensure that the lopOp is on the same Transaction as the operation.
Diffstat (limited to 'src/mongo/db/dbcommands_generic.cpp')
-rw-r--r--src/mongo/db/dbcommands_generic.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/dbcommands_generic.cpp b/src/mongo/db/dbcommands_generic.cpp
index 10480cc7f20..ba351270be1 100644
--- a/src/mongo/db/dbcommands_generic.cpp
+++ b/src/mongo/db/dbcommands_generic.cpp
@@ -330,9 +330,6 @@ namespace mongo {
virtual void help( stringstream& help ) const {
help << "for testing purposes only. forces a user assertion exception";
}
- virtual bool logTheOp() {
- return false;
- }
virtual bool slaveOk() const {
return true;
}