diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-06-02 16:32:25 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-06-02 22:55:05 -0400 |
commit | e5da18f2dfbd71fb997734b524e5e4306d0af550 (patch) | |
tree | 25d2d291a47414967b4f5b5974ce7be80f7ff843 /src/mongo/db/catalog/database.h | |
parent | 8c9fcc939f9f1a2b593e606bd790cc87efd4064f (diff) | |
download | mongo-e5da18f2dfbd71fb997734b524e5e4306d0af550.tar.gz |
SERVER-13961 Remove all 'checking' variants of dbHolder
All places which call dbHolder are verifiably under the appropriate lock,
so there is no need to do checking. This allows for the Lock::isLocked
check to be removed from there.
Diffstat (limited to 'src/mongo/db/catalog/database.h')
-rw-r--r-- | src/mongo/db/catalog/database.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/database.h b/src/mongo/db/catalog/database.h index aae37fdde46..94b52680931 100644 --- a/src/mongo/db/catalog/database.h +++ b/src/mongo/db/catalog/database.h @@ -148,8 +148,7 @@ namespace mongo { * 'duplicates' is specified, it is filled with all duplicate names. // TODO move??? */ - static string duplicateUncasedName( bool inholderlockalready, - const std::string &name, + static string duplicateUncasedName( const std::string &name, const std::string &path, std::set< std::string > *duplicates = 0 ); |