mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
c678708c0c
This fixes https://github.com/ClickHouse/ClickHouse/issues/9848 Also fixes https://github.com/ClickHouse/ClickHouse/issues/11926
15 lines
328 B
Bash
Executable File
15 lines
328 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
. $CUR_DIR/../shell_config.sh
|
|
|
|
${CLICKHOUSE_LOCAL} --query "create table test engine Log as select 1 a"
|
|
|
|
# Should not see the table created by the previous instance
|
|
if ${CLICKHOUSE_LOCAL} --query "select * from test" 2>/dev/null
|
|
then
|
|
exit 1
|
|
fi
|
|
|