diff options
Diffstat (limited to 'src/mongo/db/keypattern.cpp')
-rw-r--r-- | src/mongo/db/keypattern.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/keypattern.cpp b/src/mongo/db/keypattern.cpp index f0cb5df21dc..67fd8b08460 100644 --- a/src/mongo/db/keypattern.cpp +++ b/src/mongo/db/keypattern.cpp @@ -98,7 +98,7 @@ BSONObj KeyPattern::extendRangeBound(const BSONObj& bound, bool makeUpperInclusi str::stream() << "field names of bound " << bound << " do not match those of keyPattern " << _pattern, - str::equals(srcElt.fieldName(), patElt.fieldName())); + srcElt.fieldNameStringData() == patElt.fieldNameStringData()); newBound.append(srcElt); } while (pat.more()) { |