mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
Add a test
This commit is contained in:
parent
31e7e78cd0
commit
139b0b65d7
@ -0,0 +1 @@
|
|||||||
|
Syntax error
|
7
tests/queries/0_stateless/03015_parser_shortcut_lexer_errors.sh
Executable file
7
tests/queries/0_stateless/03015_parser_shortcut_lexer_errors.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||||
|
# shellcheck source=../shell_config.sh
|
||||||
|
. "$CUR_DIR"/../shell_config.sh
|
||||||
|
|
||||||
|
$CLICKHOUSE_LOCAL --query "SELECT((((((((((SELECT(((((((((SELECT((((((((((SELECT(((((((((SELECT((((((((((SELECT(((((((((SELECT 1+)))))))))))))))))))))))))))))))))))))))))))))))))))))))))'" 2>&1 | grep -o -F 'Syntax error'
|
Loading…
Reference in New Issue
Block a user