summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authz_manager_external_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state.h')
-rw-r--r--src/mongo/db/auth/authz_manager_external_state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state.h b/src/mongo/db/auth/authz_manager_external_state.h
index 397d7cb718f..1e73ae4974a 100644
--- a/src/mongo/db/auth/authz_manager_external_state.h
+++ b/src/mongo/db/auth/authz_manager_external_state.h
@@ -147,7 +147,8 @@ namespace mongo {
* Puts into the *dbnames vector the name of every database in the cluster.
* May take a global lock, so should only be called during startup.
*/
- virtual Status getAllDatabaseNames(std::vector<std::string>* dbnames) = 0;
+ virtual Status getAllDatabaseNames(
+ OperationContext* txn, std::vector<std::string>* dbnames) = 0;
/**
* Finds a document matching "query" in "collectionName", and store a shared-ownership