mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-06 14:32:22 +00:00
9 lines
322 B
Bash
9 lines
322 B
Bash
#!/usr/bin/env bash
|
|
|
|
function test_variant {
|
|
perl -E "say \$_ for map {chomp; (qq{$1})} qx{$CLICKHOUSE_CLIENT -q 'SELECT name FROM system.functions ORDER BY name;'}" | $CLICKHOUSE_CLIENT --calculate_text_stack_trace=0 -n --ignore-error >/dev/null 2>&1
|
|
$CLICKHOUSE_CLIENT -q "SELECT 'Still alive'"
|
|
}
|
|
|
|
# vi: ft=bash
|