mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Fixed errors with ALTER MODIFY TTL
.
This commit is contained in:
parent
614c45df16
commit
17dfea217b
@ -633,6 +633,9 @@ void MergeTreeData::setTTLExpressions(const ColumnsDescription::ColumnTTLs & new
|
||||
|
||||
if (new_ttl_table_ast)
|
||||
{
|
||||
if (!only_check)
|
||||
move_ttl_entries.clear();
|
||||
|
||||
bool seen_delete_ttl = false;
|
||||
for (auto ttl_element_ptr : new_ttl_table_ast->children)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user