Removed useless code

This commit is contained in:
Alexey Milovidov 2019-08-23 08:11:11 +03:00
parent 84b0f709aa
commit dae2aa6138
2 changed files with 9 additions and 0 deletions

View File

@ -45,6 +45,11 @@ ASTPtr ASTAlterCommand::clone() const
res->ttl = ttl->clone();
res->children.push_back(res->ttl);
}
if (values)
{
res->values = values->clone();
res->children.push_back(res->values);
}
return res;
}

View File

@ -107,6 +107,10 @@ public:
/// For MODIFY TTL query
ASTPtr ttl;
/** In ALTER CHANNEL, ADD, DROP, SUSPEND, RESUME, REFRESH, MODIFY queries, the list of live views is stored here
*/
ASTPtr values;
bool detach = false; /// true for DETACH PARTITION
bool part = false; /// true for ATTACH PART and DROP DETACHED PART