summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/profile_common.h
diff options
context:
space:
mode:
authorSophia Tan <sophia_tll@hotmail.com>2022-05-18 19:41:20 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-19 18:19:03 +0000
commitb065a3b04ab6c14b7a695f0c3f97eaa81b202a36 (patch)
treeaacf818dfbefcc6953a9db5da6db6b0ac54983a5 /src/mongo/db/commands/profile_common.h
parenteb90659062d8ac2dfd629b5d672c67423bddaa6a (diff)
downloadmongo-b065a3b04ab6c14b7a695f0c3f97eaa81b202a36.tar.gz
SERVER-63109 Change CollectionCatalog::_databaseProfileSettings to be keyed by DatabaseName
Diffstat (limited to 'src/mongo/db/commands/profile_common.h')
-rw-r--r--src/mongo/db/commands/profile_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/profile_common.h b/src/mongo/db/commands/profile_common.h
index b8ffd40783e..adab840ff63 100644
--- a/src/mongo/db/commands/profile_common.h
+++ b/src/mongo/db/commands/profile_common.h
@@ -78,7 +78,7 @@ protected:
// set. On success, returns a struct indicating the previous profiling level and filter.
virtual CollectionCatalog::ProfileSettings _applyProfilingLevel(
OperationContext* opCtx,
- const std::string& dbName,
+ const DatabaseName& dbName,
const ProfileCmdRequest& request) const = 0;
};