summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/auth_op_observer.h
diff options
context:
space:
mode:
authorHugh Tong <hugh.tong@mongodb.com>2022-07-11 16:41:43 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-11 22:49:28 +0000
commitd4f322da12a6a52b1f32c39187f04b961f8cf206 (patch)
treeacf1df6c1f3f2546c74f7054371ad0ed4e639310 /src/mongo/db/auth/auth_op_observer.h
parent9b821336550ba150374d78e10852d5d883e6f323 (diff)
downloadmongo-d4f322da12a6a52b1f32c39187f04b961f8cf206.tar.gz
SERVER-62781 Include tid in oplog entries for commands
Diffstat (limited to 'src/mongo/db/auth/auth_op_observer.h')
-rw-r--r--src/mongo/db/auth/auth_op_observer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/auth/auth_op_observer.h b/src/mongo/db/auth/auth_op_observer.h
index 4b2cfffae2b..480ee25ec79 100644
--- a/src/mongo/db/auth/auth_op_observer.h
+++ b/src/mongo/db/auth/auth_op_observer.h
@@ -122,7 +122,7 @@ public:
const CollectionOptions& oldCollOptions,
boost::optional<IndexCollModInfo> indexInfo) final;
- void onDropDatabase(OperationContext* opCtx, const std::string& dbName) final;
+ void onDropDatabase(OperationContext* opCtx, const DatabaseName& dbName) final;
using OpObserver::onDropCollection;
repl::OpTime onDropCollection(OperationContext* opCtx,
@@ -172,7 +172,7 @@ public:
const boost::optional<UUID>& dropTargetUUID,
bool stayTemp) final;
void onApplyOps(OperationContext* opCtx,
- const std::string& dbName,
+ const DatabaseName& dbName,
const BSONObj& applyOpCmd) final;
void onEmptyCapped(OperationContext* opCtx,