mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Update tests/queries/0_stateless/02461_cancel_finish_race.sh
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
This commit is contained in:
parent
e014293fe8
commit
7d1ef764c2
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user