summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/keep_mutations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/keep_mutations.cpp')
-rw-r--r--src/mongo/db/exec/keep_mutations.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/exec/keep_mutations.cpp b/src/mongo/db/exec/keep_mutations.cpp
index da6852d8ca2..b52b7c0540b 100644
--- a/src/mongo/db/exec/keep_mutations.cpp
+++ b/src/mongo/db/exec/keep_mutations.cpp
@@ -31,6 +31,9 @@
namespace mongo {
+ // static
+ const char* KeepMutationsStage::kStageType = "KEEP_MUTATIONS";
+
KeepMutationsStage::KeepMutationsStage(const MatchExpression* filter,
WorkingSet* ws,
PlanStage* child)
@@ -38,7 +41,8 @@ namespace mongo {
_child(child),
_filter(filter),
_doneReadingChild(false),
- _doneReturningFlagged(false) { }
+ _doneReturningFlagged(false),
+ _commonStats(kStageType) { }
KeepMutationsStage::~KeepMutationsStage() { }