mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 12:14:18 +00:00
fix shellcheck
This commit is contained in:
parent
b9d247f899
commit
6f602853a1
@ -33,7 +33,7 @@ $CLICKHOUSE_CLIENT -q "INSERT INTO t2 VALUES (2, 2000);"
|
||||
$CLICKHOUSE_CLIENT -q "ALTER TABLE t1 UPDATE i = sleepEachRow(3) IN PARTITION id '1' WHERE p == 1;"
|
||||
|
||||
# wait for mutation to start
|
||||
while [ $($CLICKHOUSE_CLIENT -q "SELECT not(is_done) as is_running FROM system.mutations WHERE database==currentDatabase() AND table=='t1'") != 1 ]
|
||||
while [ "$($CLICKHOUSE_CLIENT -q "SELECT not(is_done) as is_running FROM system.mutations WHERE database==currentDatabase() AND table=='t1'")" != 1 ]
|
||||
do
|
||||
sleep .5
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user