ClickHouse/tests/queries/0_stateless/00938_fix_rwlock_segfault_long.sh
2021-09-12 17:15:28 +03:00

16 lines
385 B
Bash
Executable File

#!/usr/bin/env bash
# Tags: long
# Test fix for issue #5066
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
set -e
# NOTE: database = $CLICKHOUSE_DATABASE is unwanted
for _ in {1..100}; do \
$CLICKHOUSE_CLIENT -q "SELECT name FROM system.tables UNION ALL SELECT name FROM system.columns format Null";
done