mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-20 13:15:42 +00:00
16 lines
403 B
Bash
Executable File
16 lines
403 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
# shellcheck source=../shell_config.sh
|
|
. "$CUR_DIR"/../shell_config.sh
|
|
|
|
# clickhouse-local and clickhouse-client behave the same
|
|
$CLICKHOUSE_CLIENT -q "select 1; select 2;"
|
|
$CLICKHOUSE_LOCAL -q "select 1; select 2;"
|
|
|
|
# -n is a no-op
|
|
$CLICKHOUSE_CLIENT -q "select 1; select 2;"
|
|
$CLICKHOUSE_LOCAL -q "select 1; select 2;"
|
|
|
|
exit 0
|