summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.h
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/commands.h
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/commands.h')
-rw-r--r--src/mongo/db/commands.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h
index e311b6b498f..a679dc3e5ff 100644
--- a/src/mongo/db/commands.h
+++ b/src/mongo/db/commands.h
@@ -110,13 +110,6 @@ namespace mutablebson {
return false;
}
- /* Override and return true to if true,log the operation (logOp()) to the replication log.
- (not done if fromRepl of course)
-
- Note if run() returns false, we do NOT log.
- */
- virtual bool logTheOp() { return false; }
-
/**
* Override and return fales if the command opcounters should not be incremented on
* behalf of this command.