summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilitsa Sotirova <militsa.sotirova@mongodb.com>2023-04-13 20:40:19 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-14 13:51:42 +0000
commit07fb62484a27e3e464ecdd6c746de64e53e19e56 (patch)
treec6e71138a79b83b0989a9ae6d9baae7c5a4f5682
parent632fcfeda31845f573fd917c32c55cc9b9cae180 (diff)
downloadmongo-07fb62484a27e3e464ecdd6c746de64e53e19e56.tar.gz
SERVER-76098 Allow queries with search and non-simple collationsr4.4.21-rc0r4.4.21
This reverts commit cf8792ea4ff3b0ab50c7779b1a44680a4bb9ce56.
-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 32289466640..232df5486a3 100644
--- a/src/mongo/db/pipeline/expression_context.h
+++ b/src/mongo/db/pipeline/expression_context.h
@@ -431,11 +431,6 @@ public:
// expression counting.
bool enabledCounters = true;
- // 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;