mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Merge pull request #46110 from ClickHouse/CheSema-patch-1
allow_drop_detached requires an argument
This commit is contained in:
commit
7e4789b1a7
@ -28,7 +28,7 @@ function thread_detach_attach()
|
|||||||
function thread_drop_detached()
|
function thread_drop_detached()
|
||||||
{
|
{
|
||||||
while true; do
|
while true; do
|
||||||
$CLICKHOUSE_CLIENT --allow_drop_detached -q "alter table mt drop detached partition id 'all'";
|
$CLICKHOUSE_CLIENT --allow_drop_detached 1 -q "alter table mt drop detached partition id 'all'";
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user