summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops
diff options
context:
space:
mode:
authorMaria van Keulen <maria@mongodb.com>2020-03-19 11:59:28 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-19 19:40:42 +0000
commitb133bc9931e419264193cc641fe7c9342c4d901b (patch)
treee898a141f879caa5ff4649514f1c0eb8ffe580c5 /src/mongo/db/ops
parent9fa3c10ac7517877066702e777582083d6322e1c (diff)
downloadmongo-b133bc9931e419264193cc641fe7c9342c4d901b.tar.gz
SERVER-46990 Fix check for command names for commands in txns param
Diffstat (limited to 'src/mongo/db/ops')
-rw-r--r--src/mongo/db/ops/write_ops_exec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/write_ops_exec.cpp b/src/mongo/db/ops/write_ops_exec.cpp
index 5093d1855a0..cf08d7497d5 100644
--- a/src/mongo/db/ops/write_ops_exec.cpp
+++ b/src/mongo/db/ops/write_ops_exec.cpp
@@ -229,7 +229,7 @@ void makeCollection(OperationContext* opCtx, const NamespaceString& ns) {
uassert(ErrorCodes::OperationNotSupportedInTransaction,
str::stream() << "Cannot create namespace " << ns.ns()
- << "because creation of collections and indexes inside "
+ << " because creation of collections and indexes inside "
"multi-document transactions is disabled.",
!inTransaction || gShouldMultiDocTxnCreateCollectionAndIndexes.load());