summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/merge_sort.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/merge_sort.h')
-rw-r--r--src/mongo/db/exec/merge_sort.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/exec/merge_sort.h b/src/mongo/db/exec/merge_sort.h
index fe1aeedb809..cea83346432 100644
--- a/src/mongo/db/exec/merge_sort.h
+++ b/src/mongo/db/exec/merge_sort.h
@@ -137,6 +137,9 @@ private:
bool operator()(const MergingRef& lhs, const MergingRef& rhs);
private:
+ // Encodes sort key part 'keyPart' according to the collation of the query.
+ BSONObj encodeKeyPartWithCollation(const BSONElement& keyPart);
+
WorkingSet* _ws;
BSONObj _pattern;
const CollatorInterface* _collator;