Skip to content

Commit de0b6a8

Browse files
committed
Fix build due to ClickHouse/ClickHouse#77447 (which revert #70102)
1 parent 71bb47f commit de0b6a8

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

cpp-ch/local-engine/Common/CHUtil.cpp

+1-13
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ namespace ServerSetting
8080
extern const ServerSettingsString primary_index_cache_policy;
8181
extern const ServerSettingsUInt64 primary_index_cache_size;
8282
extern const ServerSettingsDouble primary_index_cache_size_ratio;
83-
extern const ServerSettingsString skipping_index_cache_policy;
84-
extern const ServerSettingsUInt64 skipping_index_cache_size;
85-
extern const ServerSettingsUInt64 skipping_index_cache_max_entries;
86-
extern const ServerSettingsDouble skipping_index_cache_size_ratio;
8783
extern const ServerSettingsUInt64 max_prefixes_deserialization_thread_pool_size;
8884
extern const ServerSettingsUInt64 max_prefixes_deserialization_thread_pool_free_size;
8985
extern const ServerSettingsUInt64 prefixes_deserialization_thread_pool_thread_pool_queue_size;
@@ -816,15 +812,7 @@ void BackendInitializerUtil::initContexts(DB::Context::ConfigurationPtr config)
816812
size_t index_mark_cache_size = config->getUInt64("index_mark_cache_size", DEFAULT_INDEX_MARK_CACHE_MAX_SIZE);
817813
double index_mark_cache_size_ratio = config->getDouble("index_mark_cache_size_ratio", DEFAULT_INDEX_MARK_CACHE_SIZE_RATIO);
818814
global_context->setIndexMarkCache(index_mark_cache_policy, index_mark_cache_size, index_mark_cache_size_ratio);
819-
820-
String skipping_index_cache_policy = server_settings[ServerSetting::skipping_index_cache_policy];
821-
size_t skipping_index_cache_size = server_settings[ServerSetting::skipping_index_cache_size];
822-
size_t skipping_index_cache_max_entries = server_settings[ServerSetting::skipping_index_cache_max_entries];
823-
double skipping_index_cache_size_ratio = server_settings[ServerSetting::skipping_index_cache_size_ratio];
824-
LOG_INFO(log, "Skipping index cache size to {}", formatReadableSizeWithBinarySuffix(skipping_index_cache_size));
825-
global_context->setSkippingIndexCache(
826-
skipping_index_cache_policy, skipping_index_cache_size, skipping_index_cache_max_entries, skipping_index_cache_size_ratio);
827-
815+
828816
getMergeTreePrefixesDeserializationThreadPool().initialize(
829817
server_settings[ServerSetting::max_prefixes_deserialization_thread_pool_size],
830818
server_settings[ServerSetting::max_prefixes_deserialization_thread_pool_free_size],

0 commit comments

Comments
 (0)