Update tests/queries/0_stateless/02461_cancel_finish_race.sh

Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
This commit is contained in:
Alexey Milovidov 2022-10-18 18:08:57 +03:00 committed by GitHub
parent e014293fe8
commit 7d1ef764c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ function thread_query()
function thread_cancel() function thread_cancel()
{ {
while true; do while true; do
$CLICKHOUSE_CLIENT --query "KILL QUERY WHERE 1 SYNC FORMAT Null"; $CLICKHOUSE_CLIENT --query "KILL QUERY WHERE current_database = '$CLICKHOUSE_DATABASE' SYNC FORMAT Null";
done done
} }