diff options
Diffstat (limited to 'src/mongo/db/index/index_access_method.cpp')
-rw-r--r-- | src/mongo/db/index/index_access_method.cpp | 4 |
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 d06e244a2a0..f017dd20f88 100644 --- a/src/mongo/db/index/index_access_method.cpp +++ b/src/mongo/db/index/index_access_method.cpp @@ -91,8 +91,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 = mongoutils::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(); |