summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/oplog_entry.cpp')
-rw-r--r--src/mongo/db/repl/oplog_entry.cpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/mongo/db/repl/oplog_entry.cpp b/src/mongo/db/repl/oplog_entry.cpp
index e129eb47e6f..dcc24a1c114 100644
--- a/src/mongo/db/repl/oplog_entry.cpp
+++ b/src/mongo/db/repl/oplog_entry.cpp
@@ -188,49 +188,6 @@ OplogEntry::OplogEntry(OpTime opTime,
preImageOpTime,
postImageOpTime)) {}
-OplogEntry::OplogEntry(OpTime opTime,
- long long hash,
- OpTypeEnum opType,
- NamespaceString nss,
- int version,
- const BSONObj& oField,
- const boost::optional<BSONObj>& o2Field)
- : OplogEntry(opTime, // optime
- hash, // hash
- opType, // op type
- nss, // namespace
- boost::none, // uuid
- boost::none, // fromMigrate
- version, // version
- oField, // o
- o2Field, // o2
- {}, // sessionInfo
- boost::none, // wall clock time
- boost::none, // statement id
- boost::none, // optime of previous write within same transaction
- boost::none, // pre-image optime
- boost::none) {} // post-image optime
-
-OplogEntry::OplogEntry(OpTime opTime,
- long long hash,
- OpTypeEnum opType,
- NamespaceString nss,
- int version,
- const BSONObj& oField)
- : OplogEntry(opTime, hash, opType, nss, version, oField, boost::none) {}
-
-OplogEntry::OplogEntry(
- OpTime opTime, long long hash, OpTypeEnum opType, NamespaceString nss, const BSONObj& oField)
- : OplogEntry(opTime, hash, opType, nss, OplogEntry::kOplogVersion, oField, boost::none) {}
-
-OplogEntry::OplogEntry(OpTime opTime,
- long long hash,
- OpTypeEnum opType,
- NamespaceString nss,
- const BSONObj& oField,
- const boost::optional<BSONObj>& o2Field)
- : OplogEntry(opTime, hash, opType, nss, OplogEntry::kOplogVersion, oField, o2Field) {}
-
bool OplogEntry::isCommand() const {
return getOpType() == OpTypeEnum::kCommand;
}