mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
fix test
This commit is contained in:
parent
8f7daa75d1
commit
fe0bdbe42c
@ -4,13 +4,13 @@ set -e
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
. $CURDIR/../shell_config.sh
|
||||
|
||||
${CLICKHOUSE_CLIENT} --query "DROP TABLE IF EXISTS parallel_ddl"
|
||||
${CLICKHOUSE_CLIENT} --query "DROP TABLE IF EXISTS test.parallel_ddl"
|
||||
|
||||
function query()
|
||||
{
|
||||
for i in {1..100}; do
|
||||
${CLICKHOUSE_CLIENT} --query "CREATE TABLE IF NOT EXISTS parallel_ddl(a Int) ENGINE = Memory"
|
||||
${CLICKHOUSE_CLIENT} --query "DROP TABLE IF EXISTS parallel_ddl"
|
||||
${CLICKHOUSE_CLIENT} --query "CREATE TABLE IF NOT EXISTS test.parallel_ddl(a Int) ENGINE = Memory"
|
||||
${CLICKHOUSE_CLIENT} --query "DROP TABLE IF EXISTS test.parallel_ddl"
|
||||
done
|
||||
}
|
||||
|
||||
@ -20,4 +20,4 @@ done
|
||||
|
||||
wait
|
||||
|
||||
${CLICKHOUSE_CLIENT} --query "DROP TABLE IF EXISTS parallel_ddl"
|
||||
${CLICKHOUSE_CLIENT} --query "DROP TABLE IF EXISTS test.parallel_ddl"
|
||||
|
Loading…
Reference in New Issue
Block a user