diff options
author | Mathias Stearn <mathias@10gen.com> | 2014-04-29 15:23:45 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2014-04-30 10:48:16 -0400 |
commit | 36370def1e19eed5fcabd468253c5be0d2b22366 (patch) | |
tree | d26b73db74a8d2429179f70f438c931e001e985f /src/mongo/db/commands.h | |
parent | 6d0f155cdd27b019b2f1ccc4b6b7e8e2c8271b54 (diff) | |
download | mongo-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.h | 7 |
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. |