summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression_context.h
diff options
context:
space:
mode:
authorBernard Gorman <bernard.gorman@gmail.com>2020-03-11 18:17:30 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-12 18:10:40 +0000
commit482ec2ed36d6677f54f112a0a046c8b9f3ce9a1b (patch)
tree001a734c5660fef4ddf57a18b2fdd8a1d6e59f1d /src/mongo/db/pipeline/expression_context.h
parent729b70ce06625ed73b023a6a41a1e4d1a7e58363 (diff)
downloadmongo-482ec2ed36d6677f54f112a0a046c8b9f3ce9a1b.tar.gz
SERVER-44884 Remove the 'useNewUpsert' flag after branching for 4.5
Diffstat (limited to 'src/mongo/db/pipeline/expression_context.h')
-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 35be79e3b1a..de9442dd6b3 100644
--- a/src/mongo/db/pipeline/expression_context.h
+++ b/src/mongo/db/pipeline/expression_context.h
@@ -352,11 +352,6 @@ public:
// other than the "k44SortKey" format, so this will be removed.
SortKeyFormat sortKeyFormat = SortKeyFormat::k44SortKey;
- // True if this context is associated with a pipeline which is permitted to use the new
- // upsertSupplied mechanism for applicable $merge modes.
- // TODO SERVER-44884: remove this when we branch for 4.5.
- bool useNewUpsert = false;
-
// True if this ExpressionContext is used to parse a view definition pipeline.
bool isParsingViewDefinition = false;