Add a test

This commit is contained in:
Alexey Milovidov 2024-03-21 02:30:20 +01:00
parent 31e7e78cd0
commit 139b0b65d7
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
Syntax error

View 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'