mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Merge branch 'proller-fix14'
This commit is contained in:
commit
ee2823541e
@ -0,0 +1 @@
|
||||
Still alive
|
12
dbms/tests/queries/0_stateless/00531_functions_bad_arguments.sh
Executable file
12
dbms/tests/queries/0_stateless/00531_functions_bad_arguments.sh
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
. $CURDIR/../shell_config.sh
|
||||
|
||||
# Server should not crash on any function trash calls
|
||||
|
||||
# todo: make --ignore-error function in clickhouse-client and load all queries as one .sql (or pipe)
|
||||
# todo: maybe add more strange usages
|
||||
perl -E "say \$_ for map {chomp; (qq{SELECT \$_;}, qq{SELECT \$_();}, qq{SELECT \$_(NULL);}, qq{SELECT \$_([]);}, qq{SELECT \$_([NULL]);}, qq{SELECT \$_(-1);}, qq{SELECT \$_('');},)} qx{$CLICKHOUSE_CLIENT -q 'SELECT name FROM system.functions ORDER BY name;'}" | $CLICKHOUSE_CLIENT -n --ignore-error >/dev/null 2>&1
|
||||
|
||||
$CLICKHOUSE_CLIENT -q "SELECT 'Still alive'"
|
Loading…
Reference in New Issue
Block a user