mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
13 lines
305 B
Bash
13 lines
305 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||
|
# shellcheck source=../shell_config.sh
|
||
|
. "$CURDIR"/../shell_config.sh
|
||
|
|
||
|
for Engine in Atomic Ordinary; do
|
||
|
$CLICKHOUSE_LOCAL --query """
|
||
|
CREATE DATABASE foo_$Engine Engine=$Engine;
|
||
|
DROP DATABASE foo_$Engine;
|
||
|
"""
|
||
|
done
|