summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/index_access_method.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/index_access_method.cpp')
-rw-r--r--src/mongo/db/index/index_access_method.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/index/index_access_method.cpp b/src/mongo/db/index/index_access_method.cpp
index b118867a899..09b1b8e1c7b 100644
--- a/src/mongo/db/index/index_access_method.cpp
+++ b/src/mongo/db/index/index_access_method.cpp
@@ -92,8 +92,8 @@ const int TempKeyMaxSize = 1024;
// TODO SERVER-36385: Completely remove the key size check in 4.4
Status checkKeySize(const BSONObj& key) {
if (key.objsize() >= TempKeyMaxSize) {
- std::string msg = str::stream() << "Index key too large to index, failing " << key.objsize()
- << ' ' << redact(key);
+ std::string msg = str::stream()
+ << "Index key too large to index, failing " << key.objsize() << ' ' << redact(key);
return Status(ErrorCodes::KeyTooLong, msg);
}
return Status::OK();