summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression_context.cpp
diff options
context:
space:
mode:
authorEric Cox <eric.cox@mongodb.com>2020-01-21 20:31:02 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-13 14:58:45 +0000
commite289b78c61033674f6440d9ddc402b50903717ac (patch)
treef468a4ea2a6c68e3bbf3e23522926e05e4f92aa4 /src/mongo/db/pipeline/expression_context.cpp
parent173e12f195cf456c6f08d82131256d625c1f583f (diff)
downloadmongo-e289b78c61033674f6440d9ddc402b50903717ac.tar.gz
SERVER-45454 Desugar where to expr + function
Diffstat (limited to 'src/mongo/db/pipeline/expression_context.cpp')
-rw-r--r--src/mongo/db/pipeline/expression_context.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/expression_context.cpp b/src/mongo/db/pipeline/expression_context.cpp
index 2e4908d8f7e..f135b105c35 100644
--- a/src/mongo/db/pipeline/expression_context.cpp
+++ b/src/mongo/db/pipeline/expression_context.cpp
@@ -128,8 +128,10 @@ ExpressionContext::ExpressionContext(
ExpressionContext::ExpressionContext(OperationContext* opCtx,
const CollatorInterface* collator,
+ const NamespaceString& nss,
const boost::optional<RuntimeConstants>& runtimeConstants)
- : opCtx(opCtx),
+ : ns(nss),
+ opCtx(opCtx),
mongoProcessInterface(std::make_shared<StubMongoProcessInterface>()),
timeZoneDatabase(opCtx && opCtx->getServiceContext()
? TimeZoneDatabase::get(opCtx->getServiceContext())