summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/timeseries/bucket_catalog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/timeseries/bucket_catalog.h b/src/mongo/db/timeseries/bucket_catalog.h
index 3786c44d18e..237bf790229 100644
--- a/src/mongo/db/timeseries/bucket_catalog.h
+++ b/src/mongo/db/timeseries/bucket_catalog.h
@@ -293,7 +293,7 @@ private:
private:
BSONObj _metadata;
- const StringData::ComparatorInterface* _comparator;
+ const StringData::ComparatorInterface* _comparator = nullptr;
// This stores the _metadata object with all fields sorted to allow for binary comparisons.
BSONObj _sorted;