mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Fix argument
This commit is contained in:
parent
dcb505b993
commit
1e041b8791
@ -7,7 +7,7 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
|
||||
function wait_mutation_to_start()
|
||||
{
|
||||
query_wait=`$CLICKHOUSE_CLIENT --query="SELECT length(parts_to_do_names) FROM system.mutations where table = 'replicated_table_for_mutations'" 2>&1`
|
||||
query_wait=`$CLICKHOUSE_CLIENT --query="SELECT length(parts_to_do_names) FROM system.mutations where table = '$1'" 2>&1`
|
||||
|
||||
while [ "$query_wait" == "0" ] || [ -z "$query_wait" ]
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user