Merge pull request #46110 from ClickHouse/CheSema-patch-1

allow_drop_detached requires an argument
This commit is contained in:
Alexander Tokmakov 2023-02-08 18:55:59 +03:00 committed by GitHub
commit 7e4789b1a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ function thread_detach_attach()
function thread_drop_detached()
{
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
}