diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2023-02-08 05:01:23 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-02-10 20:30:01 +0000 |
commit | a4b8d38c285714179811318afce354e737fdfb1d (patch) | |
tree | 1be32fd7e6ba97e2e4dd951cadc8c9d43c7440fb | |
parent | b1721d86e39f3fb8b51897111196aedf42c3c032 (diff) | |
download | mongo-a4b8d38c285714179811318afce354e737fdfb1d.tar.gz |
SERVER-73745 Zero initialize IndexKeyBucket struct
(cherry picked from commit ceb331a7471e03038f72d9ba7d9d3ac9f9d80ada)
-rw-r--r-- | src/mongo/db/catalog/index_consistency.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/index_consistency.h b/src/mongo/db/catalog/index_consistency.h index dab1d2d8d97..0ae9d7c01b5 100644 --- a/src/mongo/db/catalog/index_consistency.h +++ b/src/mongo/db/catalog/index_consistency.h @@ -179,8 +179,8 @@ public: private: struct IndexKeyBucket { - uint32_t indexKeyCount; - uint32_t bucketSizeBytes; + uint32_t indexKeyCount = 0; + uint32_t bucketSizeBytes = 0; }; IndexConsistency() = delete; |