diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-05-28 13:49:34 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-06-02 22:52:46 -0400 |
commit | 8c9fcc939f9f1a2b593e606bd790cc87efd4064f (patch) | |
tree | beaa313f3e53cf72ca76aa5392946b97736ea6b3 /src/mongo/db/auth/authz_manager_external_state.h | |
parent | 4add46aa8dd05a5c6d8af2c798eef6e9b5e4164b (diff) | |
download | mongo-8c9fcc939f9f1a2b593e606bd790cc87efd4064f.tar.gz |
SERVER-13961 Start using LockState from the OperationContext
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state.h')
-rw-r--r-- | src/mongo/db/auth/authz_manager_external_state.h | 3 |
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 |