ClickHouse/tests/queries/0_stateless/00938_fix_rwlock_segfault.sh
2020-12-29 17:57:12 +03:00

14 lines
320 B
Bash
Executable File

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