ClickHouse/tests/queries/0_stateless/02135_local_create_db.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
344 B
Bash
Raw Normal View History

#!/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
2022-06-23 10:58:34 +00:00
$CLICKHOUSE_LOCAL --allow_deprecated_database_ordinary=1 --query """
CREATE DATABASE foo_$Engine Engine=$Engine;
DROP DATABASE foo_$Engine;
"""
done