Rename config param tmp_cache -> temporary_data_in_cache

This commit is contained in:
vdimir 2022-12-06 16:55:25 +00:00
parent 69731351e2
commit 511e8d698d
No known key found for this signature in database
GPG Key ID: 6EE4CE2BEDC51862
2 changed files with 2 additions and 2 deletions

View File

@ -978,7 +978,7 @@ try
size_t max_size = config().getUInt64("max_temporary_data_on_disk_size", 0);
global_context->setTemporaryStoragePolicy(temporary_policy, max_size);
}
else if (auto temporary_cache = config().getString("tmp_cache", ""); !temporary_cache.empty())
else if (auto temporary_cache = config().getString("temporary_data_in_cache", ""); !temporary_cache.empty())
{
size_t max_size = config().getUInt64("max_temporary_data_on_disk_size", 0);
global_context->setTemporaryStorageInCache(temporary_cache, max_size);

View File

@ -35,5 +35,5 @@
</policies>
</storage_configuration>
<tmp_cache>tiny_local_cache</tmp_cache>
<temporary_data_in_cache>tiny_local_cache</temporary_data_in_cache>
</clickhouse>