mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
dbms: fixed error in prev. revisions [#METR-12524].
This commit is contained in:
parent
7106b4f536
commit
a2634c60d0
@ -229,7 +229,7 @@ void StorageMergeTree::dropPartition(const Field & partition, bool detach)
|
||||
|
||||
for (const auto & part : parts)
|
||||
{
|
||||
if (part->left_month == part->right_month && part->left_month == month)
|
||||
if (!(part->left_month == part->right_month && part->left_month == month))
|
||||
continue;
|
||||
|
||||
LOG_DEBUG(log, "Removing part " << part->name);
|
||||
|
Loading…
Reference in New Issue
Block a user