src/mongo/db/repl/sync_tail_test.cpp
/**
 * Creates an update oplog entry with given optime and namespace.
 */
Creates an update oplog entry with given optime and namespace.
Creates an update oplog entry with given optime and namespace .
OplogEntry makeUpdateDocumentOplogEntry(OpTime opTime,
                                        const NamespaceString& nss,
                                        const BSONObj& documentToUpdate,
                                        const BSONObj& updatedDocument) {
    return OplogEntry(opTime, 1LL, OpTypeEnum::kUpdate, nss, updatedDocument, documentToUpdate);
}
OplogEntry makeUpdateDocumentOplogEntry ( OpTime opTime , const NamespaceString & nss , const BSONObj & documentToUpdate , const BSONObj & updatedDocument ) { return OplogEntry ( opTime , 1LL , OpTypeEnum :: kUpdate , nss , updatedDocument , documentToUpdate ) ; }
Creates an update oplog entry with given optime and namespace.
Creates an update oplog entry with given optime and namespace .