diff options
Diffstat (limited to 'db/repl.h')
-rw-r--r-- | db/repl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -122,11 +122,11 @@ namespace mongo { * @return true iff an op with the specified ns may be applied. */ bool handleDuplicateDbName( const BSONObj &op, const char *ns, const char *db ); - + public: OplogReader oplogReader; - static void applyOperation(const BSONObj& op); + void applyOperation(const BSONObj& op); string hostName; // ip addr or hostname plus optionally, ":<port>" string _sourceName; // a logical source name. string sourceName() const { return _sourceName.empty() ? "main" : _sourceName; } |