From 5273c2bad7df58c44afdd677609b8656f399a906 Mon Sep 17 00:00:00 2001 From: James Wahlin Date: Wed, 5 Apr 2017 09:59:54 -0400 Subject: SERVER-28651 Move agg var ownership to ExpressionContext --- src/mongo/db/pipeline/expression_context.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mongo/db/pipeline/expression_context.cpp') diff --git a/src/mongo/db/pipeline/expression_context.cpp b/src/mongo/db/pipeline/expression_context.cpp index 2b149b1af9c..d2a16a6ca87 100644 --- a/src/mongo/db/pipeline/expression_context.cpp +++ b/src/mongo/db/pipeline/expression_context.cpp @@ -50,6 +50,7 @@ ExpressionContext::ExpressionContext(OperationContext* opCtx, ns(request.getNamespaceString()), opCtx(opCtx), collation(request.getCollation()), + variablesParseState(variables.useIdGenerator()), _collator(std::move(collator)), _documentComparator(_collator.get()), _valueComparator(_collator.get()), -- cgit v1.2.1