src/mongo/db/repl/sync_tail_test.cpp
/**
 * Creates a command oplog entry with given optime and namespace.
 */
Creates a command oplog entry with given optime and namespace.
Creates a command oplog entry with given optime and namespace .
OplogEntry makeCommandOplogEntry(OpTime opTime,
                                 const NamespaceString& nss,
                                 const BSONObj& command) {
    return OplogEntry(opTime, 1LL, OpTypeEnum::kCommand, nss.getCommandNS(), 2, command);
}
OplogEntry makeCommandOplogEntry ( OpTime opTime , const NamespaceString & nss , const BSONObj & command ) { return OplogEntry ( opTime , 1LL , OpTypeEnum :: kCommand , nss . getCommandNS ( ) , 2 , command ) ; }
Creates a command oplog entry with given optime and namespace.
Creates a command oplog entry with given optime and namespace .