summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/update.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/update.h')
-rw-r--r--src/mongo/db/exec/update.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/exec/update.h b/src/mongo/db/exec/update.h
index 862074e4001..b543ebb5fdf 100644
--- a/src/mongo/db/exec/update.h
+++ b/src/mongo/db/exec/update.h
@@ -125,6 +125,11 @@ namespace mongo {
*/
bool needInsert();
+ /**
+ * Helper for restoring the state of this update.
+ */
+ Status restoreUpdateState(OperationContext* opCtx);
+
UpdateStageParams _params;
// Not owned by us.