diff options
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/db/index/sort_key_generator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index/sort_key_generator.cpp b/src/mongo/db/index/sort_key_generator.cpp index e02fff9111b..9d460480f09 100644 --- a/src/mongo/db/index/sort_key_generator.cpp +++ b/src/mongo/db/index/sort_key_generator.cpp @@ -152,7 +152,7 @@ StatusWith<BSONObj> SortKeyGenerator::getIndexKey(const BSONObj& obj) const { } catch (const AssertionException& e) { // Probably a parallel array. if (ErrorCodes::CannotIndexParallelArrays == e.code()) { - return Status(ErrorCodes::BadValue, "cannot sort with keys that are parallel arrays"); + return Status(ErrorCodes::BadValue, "cannot sort on multiple fields containing arrays"); } else { return e.toStatus(); } |