diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-02-27 17:51:41 -0500 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-03-02 17:21:41 -0500 |
commit | b1624b3fb1fe7eaf4554682d02c57abc519db819 (patch) | |
tree | 87791d227aed63623028ee51dbd6c5f585654962 /src/mongo/db/commands | |
parent | 70e200e98474d1a29339bf536f348257e8f83a9d (diff) | |
download | mongo-b1624b3fb1fe7eaf4554682d02c57abc519db819.tar.gz |
SERVER-33336 Snapshot reads should not take MODE_IX locks when autocommit=true
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r-- | src/mongo/db/commands/dbcommands.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/commands/list_databases.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/dbcommands.cpp b/src/mongo/db/commands/dbcommands.cpp index ce56e6a61b0..f4950c06d5b 100644 --- a/src/mongo/db/commands/dbcommands.cpp +++ b/src/mongo/db/commands/dbcommands.cpp @@ -46,13 +46,13 @@ #include "mongo/db/auth/user_management_commands_parser.h" #include "mongo/db/auth/user_name.h" #include "mongo/db/background.h" -#include "mongo/db/catalog/catalog_raii.h" #include "mongo/db/catalog/coll_mod.h" #include "mongo/db/catalog/create_collection.h" #include "mongo/db/catalog/database_holder.h" #include "mongo/db/catalog/drop_collection.h" #include "mongo/db/catalog/drop_database.h" #include "mongo/db/catalog/index_key_validate.h" +#include "mongo/db/catalog_raii.h" #include "mongo/db/clientcursor.h" #include "mongo/db/commands.h" #include "mongo/db/commands/server_status.h" diff --git a/src/mongo/db/commands/list_databases.cpp b/src/mongo/db/commands/list_databases.cpp index 271d5433196..e4477c9a418 100644 --- a/src/mongo/db/commands/list_databases.cpp +++ b/src/mongo/db/commands/list_databases.cpp @@ -31,8 +31,8 @@ #include "mongo/platform/basic.h" #include "mongo/db/auth/authorization_session.h" -#include "mongo/db/catalog/catalog_raii.h" #include "mongo/db/catalog/database_catalog_entry.h" +#include "mongo/db/catalog_raii.h" #include "mongo/db/client.h" #include "mongo/db/commands.h" #include "mongo/db/matcher/expression.h" |