summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilitsa Sotirova <militsa.sotirova@mongodb.com>2023-04-13 20:36:44 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-14 14:00:07 +0000
commit197466e20bef76222c1ad85204633163beba3009 (patch)
tree8f2be1fa63110cb492e164996e5955e070f6b7c8
parentebc1a5e9ce967b8de4d46b094d7cc39aa3b05c64 (diff)
downloadmongo-197466e20bef76222c1ad85204633163beba3009.tar.gz
SERVER-76098 Allow queries with search and non-simple collationsr5.0.17-rc0r5.0.17
This reverts commit 40eae593bfb458304ce1c75e9ffb44d3b804d6b1.
-rw-r--r--src/mongo/db/pipeline/expression_context.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/pipeline/expression_context.h b/src/mongo/db/pipeline/expression_context.h
index 67879398d09..b1a2027652e 100644
--- a/src/mongo/db/pipeline/expression_context.h
+++ b/src/mongo/db/pipeline/expression_context.h
@@ -454,11 +454,6 @@ public:
return _requiresTimeseriesExtendedRangeSupport;
}
- // Returns true if the resolved collation of the context is simple.
- bool isResolvedCollationSimple() const {
- return getCollatorBSON().woCompare(CollationSpec::kSimpleSpec) == 0;
- }
-
protected:
static const int kInterruptCheckPeriod = 128;