summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression_context.cpp
diff options
context:
space:
mode:
authorDavid Storch <david.storch@mongodb.com>2022-05-03 23:17:45 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-04 00:08:29 +0000
commitf462237ac17a9c8a3e4a5a3fb6bbe6a966d4be85 (patch)
tree6e37a46ffd65e3a18c300bfe8672909a7b43fcb6 /src/mongo/db/pipeline/expression_context.cpp
parentc9260ac7135fc183f2a785124d033debc63e2734 (diff)
downloadmongo-f462237ac17a9c8a3e4a5a3fb6bbe6a966d4be85.tar.gz
SERVER-64315 Re-enable caching of SBE plans when there is a single query solution
This reverts commit f8589f840c8fee60abc482d2d2c41979e356922a.
Diffstat (limited to 'src/mongo/db/pipeline/expression_context.cpp')
-rw-r--r--src/mongo/db/pipeline/expression_context.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/expression_context.cpp b/src/mongo/db/pipeline/expression_context.cpp
index bb24bd630a9..7258456a1ac 100644
--- a/src/mongo/db/pipeline/expression_context.cpp
+++ b/src/mongo/db/pipeline/expression_context.cpp
@@ -225,6 +225,8 @@ intrusive_ptr<ExpressionContext> ExpressionContext::copyWith(
expCtx->originalAggregateCommand = originalAggregateCommand.getOwned();
+ expCtx->inLookup = inLookup;
+
// Note that we intentionally skip copying the value of '_interruptCounter' because 'expCtx' is
// intended to be used for executing a separate aggregation pipeline.