fix initialization

This commit is contained in:
Anton Popov 2024-07-04 17:56:08 +00:00
parent cb884d0ac7
commit 826f6c1ce5
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ private:
std::map<String, MutationStatus> mutations_by_znode;
/// Unfinished mutations that are required for AlterConversions.
Int64 num_alter_conversions;
Int64 num_alter_conversions = 0;
/// Partition -> (block_number -> MutationStatus)
std::unordered_map<String, std::map<Int64, MutationStatus *>> mutations_by_partition;

View File

@ -150,7 +150,7 @@ private:
std::map<UInt64, MergeTreeMutationEntry> current_mutations_by_version;
/// Unfinished mutations that are required for AlterConversions.
Int64 num_alter_conversions;
Int64 num_alter_conversions = 0;
std::atomic<bool> shutdown_called {false};
std::atomic<bool> flush_called {false};