One more test

This commit is contained in:
Alexey Milovidov 2019-08-10 19:47:59 +03:00
parent 02a6b2c1ab
commit e11ba9ded9
2 changed files with 5 additions and 0 deletions

View File

@ -1 +1,2 @@
exceeded exceeded
20002

View File

@ -3,4 +3,8 @@
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
. $CURDIR/../shell_config.sh . $CURDIR/../shell_config.sh
# Too deep recursion
perl -e 'print "(" x 10000 ' | $CLICKHOUSE_CURL -sS "$CLICKHOUSE_URL" --data-binary @- | grep -oF 'exceeded' perl -e 'print "(" x 10000 ' | $CLICKHOUSE_CURL -sS "$CLICKHOUSE_URL" --data-binary @- | grep -oF 'exceeded'
# But this is Ok
perl -e 'print "SELECT 1" . (",1" x 10000) ' | $CLICKHOUSE_CURL -sS "$CLICKHOUSE_URL" --data-binary @- | wc -c