ClickHouse/dbms/tests/queries/0_stateless/00097_long_storage_buffer_race_condition.sh

7 lines
311 B
Bash
Raw Normal View History

#!/usr/bin/env bash
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
2018-09-06 15:43:57 +00:00
[ "$NO_SHELL_CONFIG" ] || . $CURDIR/../shell_config.sh
2019-06-03 17:36:27 +00:00
seq 1 1000 | sed -r 's/.+/CREATE TABLE IF NOT EXISTS buf_00097 (a UInt8) ENGINE = Buffer(currentDatabase(), b, 1, 1, 1, 1, 1, 1, 1); DROP TABLE buf_00097;/' | $CLICKHOUSE_CLIENT -n