Fix style

This commit is contained in:
Guillaume Tassery 2019-07-29 05:14:53 +02:00
parent 69300e5f98
commit 663ca03d6f
3 changed files with 3 additions and 3 deletions

View File

@ -115,7 +115,7 @@ public:
/// MOVE PARTITION partition TO db.table
String to_database;
String to_table;
String getID(char delim) const override { return "AlterCommand" + (delim + std::to_string(static_cast<int>(type))); }
ASTPtr clone() const override;

View File

@ -47,7 +47,7 @@ struct PartitionCommand
/// For MOVE PARTITION
String to_database;
String to_table;
/// For FETCH PARTITION - path in ZK to the shard, from which to download the partition.
String from_zookeeper_path;

View File

@ -1186,7 +1186,7 @@ void StorageMergeTree::movePartitionTo(const StoragePtr & dest_table, const ASTP
return;
MergeTreePartInfo drop_range;
drop_range.partition_id = partition_id;
drop_range.min_block = 0;
drop_range.max_block = increment.get(); // there will be a "hole" in block numbers