summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec
diff options
context:
space:
mode:
authorAlyssa Wagenmaker <alyssa.wagenmaker@mongodb.com>2023-05-04 21:06:32 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-04 22:49:46 +0000
commit97ff72823355568798c76591c4e2e84d4cd7ff62 (patch)
tree0255e383b8592f8f7da5cbf125b617e2140ed305 /src/mongo/db/exec
parent665f4c3dd5d69c414a5970fdc7ea5b2d1673ec41 (diff)
downloadmongo-97ff72823355568798c76591c4e2e84d4cd7ff62.tar.gz
SERVER-76686 Initialize all TimeseriesModifyParams fields
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r--src/mongo/db/exec/timeseries_modify.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/timeseries_modify.h b/src/mongo/db/exec/timeseries_modify.h
index 9764baef5ef..3a36b378ae4 100644
--- a/src/mongo/db/exec/timeseries_modify.h
+++ b/src/mongo/db/exec/timeseries_modify.h
@@ -85,11 +85,11 @@ struct TimeseriesModifyParams {
CanonicalQuery* canonicalQuery;
// True if this command was triggered by the application of an oplog entry.
- bool isFromOplogApplication;
+ bool isFromOplogApplication = false;
// Contains the logic for applying mods to documents. Only present for updates. Not owned. Must
// outlive the TimeseriesModifyStage.
- UpdateDriver* updateDriver;
+ UpdateDriver* updateDriver = nullptr;
};
/**