summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/upsert_stage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/upsert_stage.h')
-rw-r--r--src/mongo/db/exec/upsert_stage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/exec/upsert_stage.h b/src/mongo/db/exec/upsert_stage.h
index 34660c37984..d3a1b1671c4 100644
--- a/src/mongo/db/exec/upsert_stage.h
+++ b/src/mongo/db/exec/upsert_stage.h
@@ -61,7 +61,10 @@ public:
StageState doWork(WorkingSetID* out) final;
private:
+ BSONObj _produceNewDocumentForInsert();
void _performInsert(BSONObj newDocument);
+ void _assertDocumentToBeInsertedIsValid(const mutablebson::Document& document,
+ const FieldRefSet& shardKeyPaths);
};
} // namespace mongo