diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2017-09-14 16:40:46 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2017-09-29 09:30:56 -0400 |
commit | e0a505e2a8bfe59d8bdfc4e5a25aef4861d58fcf (patch) | |
tree | 237c46d1e4fd1080ac58b890485fb6197d53484c /src/mongo/db/exec/projection_exec.h | |
parent | 026b5f6f38c883c48d063ac8ee736f7330227281 (diff) | |
download | mongo-e0a505e2a8bfe59d8bdfc4e5a25aef4861d58fcf.tar.gz |
SERVER-30731 MatchExpressionParser::parse() should require an ExpressionContext
Diffstat (limited to 'src/mongo/db/exec/projection_exec.h')
-rw-r--r-- | src/mongo/db/exec/projection_exec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/exec/projection_exec.h b/src/mongo/db/exec/projection_exec.h index 9575d59042f..829cdf0d43a 100644 --- a/src/mongo/db/exec/projection_exec.h +++ b/src/mongo/db/exec/projection_exec.h @@ -66,7 +66,8 @@ public: typedef StringMap<MatchExpression*> Matchers; typedef StringMap<MetaProjection> MetaMap; - ProjectionExec(const BSONObj& spec, + ProjectionExec(OperationContext* opCtx, + const BSONObj& spec, const MatchExpression* queryExpression, const CollatorInterface* collator); |