summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/auth_index_d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/auth/auth_index_d.cpp')
-rw-r--r--src/mongo/db/auth/auth_index_d.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/auth/auth_index_d.cpp b/src/mongo/db/auth/auth_index_d.cpp
index 0fe036e03d5..c7ebb0a7054 100644
--- a/src/mongo/db/auth/auth_index_d.cpp
+++ b/src/mongo/db/auth/auth_index_d.cpp
@@ -85,7 +85,6 @@ Status verifySystemIndexes(OperationContext* opCtx) {
const NamespaceString systemUsers = AuthorizationManager::usersCollectionNamespace;
// Make sure the old unique index from v2.4 on system.users doesn't exist.
- ScopedTransaction scopedXact(opCtx, MODE_IX);
AutoGetDb autoDb(opCtx, systemUsers.db(), MODE_X);
if (!autoDb.getDb()) {
return Status::OK();