diff options
author | Geert Bosch <geert@mongodb.com> | 2019-04-17 16:18:22 -0400 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2019-04-26 16:18:38 -0400 |
commit | 8cbbba49935f632e876037f9f2d9eecc779eb96a (patch) | |
tree | f1b4416f63dd87ed97223751c2c0d4eff4063628 /src/mongo/db/repl/oplog.h | |
parent | 93dd23880759430872510ef0b539e746192e44e2 (diff) | |
download | mongo-8cbbba49935f632e876037f9f2d9eecc779eb96a.tar.gz |
SERVER-40724 Change namespace arguments to use NamespaceString
Diffstat (limited to 'src/mongo/db/repl/oplog.h')
-rw-r--r-- | src/mongo/db/repl/oplog.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/repl/oplog.h b/src/mongo/db/repl/oplog.h index a586510e0b5..926665fb76f 100644 --- a/src/mongo/db/repl/oplog.h +++ b/src/mongo/db/repl/oplog.h @@ -84,7 +84,9 @@ struct OplogLink { * If the collection already exists (and isReplSet is false), * set the 'last' Timestamp from the last entry of the oplog collection (side effect!) */ -void createOplog(OperationContext* opCtx, const std::string& oplogCollectionName, bool isReplSet); +void createOplog(OperationContext* opCtx, + const NamespaceString& oplogCollectionName, + bool isReplSet); /* * Shortcut for above function using oplogCollectionName = _oplogCollectionName, @@ -232,7 +234,7 @@ Status applyCommand_inlock(OperationContext* opCtx, /** * Initializes the global Timestamp with the value from the timestamp of the last oplog entry. */ -void initTimestampFromOplog(OperationContext* opCtx, const std::string& oplogNS); +void initTimestampFromOplog(OperationContext* opCtx, const NamespaceString& oplogNS); /** * Sets the global Timestamp to be 'newTime'. |