summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression_context.h
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2017-11-07 16:58:37 +0000
committerCharlie Swanson <charlie.swanson@mongodb.com>2017-11-17 17:20:45 -0500
commitf7122973bd8001bb8dd393b7ad7851493b8b7743 (patch)
tree13614d9c57256c1b374e45d5a2a676ac518813a5 /src/mongo/db/pipeline/expression_context.h
parenta40d277a1c7a735e4d7ed5cf394e23181f8620fb (diff)
downloadmongo-f7122973bd8001bb8dd393b7ad7851493b8b7743.tar.gz
SERVER-31665 Use correct read concern/preference during update lookup
Diffstat (limited to 'src/mongo/db/pipeline/expression_context.h')
-rw-r--r--src/mongo/db/pipeline/expression_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/expression_context.h b/src/mongo/db/pipeline/expression_context.h
index a2e16163a73..e949e068f2b 100644
--- a/src/mongo/db/pipeline/expression_context.h
+++ b/src/mongo/db/pipeline/expression_context.h
@@ -165,6 +165,9 @@ public:
// The explain verbosity requested by the user, or boost::none if no explain was requested.
boost::optional<ExplainOptions::Verbosity> explain;
+ // The comment provided by the user, or the empty string if no comment was provided.
+ std::string comment;
+
bool fromMongos = false;
bool needsMerge = false;
bool inMongos = false;