Fix MergeTreeSettings history for 24.12

This commit is contained in:
Raúl Marín 2024-12-02 12:47:20 +01:00
parent 389c31f2b8
commit 3df482066b

View File

@ -616,7 +616,9 @@ static std::initializer_list<std::pair<ClickHouseVersion, SettingsChangesHistory
{
{"24.12",
{
{"enforce_index_structure_match_on_partition_manipulation", true, false, "Add new setting to allow attach when source table's projections and secondary indices is a subset of those in the target table."}
{"enforce_index_structure_match_on_partition_manipulation", true, false, "Add new setting to allow attach when source table's projections and secondary indices is a subset of those in the target table."},
{"use_primary_key_cache", false, false, "New setting"},
{"prewarm_primary_key_cache", false, false, "New setting"},
}
},
{"24.11",
@ -641,7 +643,7 @@ static std::initializer_list<std::pair<ClickHouseVersion, SettingsChangesHistory
static void initSettingsChangesHistory(
std::map<ClickHouseVersion, SettingsChangesHistory::SettingsChanges> & settings_changes_history,
std::once_flag & initialized_flag,
std::initializer_list<std::pair<ClickHouseVersion, SettingsChangesHistory::SettingsChanges>> & initializer
std::initializer_list<std::pair<ClickHouseVersion, SettingsChangesHistory::SettingsChanges>> const & initializer
)
{
std::call_once(initialized_flag, [&]()