mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 12:14:18 +00:00
Fix tests
This commit is contained in:
parent
61e73ead45
commit
dc9e1e047b
@ -9,7 +9,7 @@ $CLICKHOUSE_LOCAL "SELECT 101;"
|
||||
$CLICKHOUSE_LOCAL "SELECT 102;SELECT 103;"
|
||||
|
||||
# Invalid SQL.
|
||||
$CLICKHOUSE_LOCAL "SELECT 200; S" 2>&1 | grep -o 'Syntax error'
|
||||
$CLICKHOUSE_LOCAL --implicit-select 0 "SELECT 200; S" 2>&1 | grep -o 'Syntax error'
|
||||
$CLICKHOUSE_LOCAL "; SELECT 201;" 2>&1 | grep -o 'Empty query'
|
||||
$CLICKHOUSE_LOCAL "; S; SELECT 202" 2>&1 | grep -o 'Empty query'
|
||||
|
||||
|
@ -18,4 +18,4 @@ $CLICKHOUSE_LOCAL --query "SELECT 202;" --query "SELECT 202;"
|
||||
$CLICKHOUSE_LOCAL --query "SELECT 303" --query "SELECT 303; SELECT 303"
|
||||
$CLICKHOUSE_LOCAL --query "" --query ""
|
||||
$CLICKHOUSE_LOCAL --query "SELECT 303" --query 2>&1 | grep -o 'Bad arguments'
|
||||
$CLICKHOUSE_LOCAL --query "SELECT 303" --query "SELE" 2>&1 | grep -o 'Syntax error'
|
||||
$CLICKHOUSE_LOCAL --implicit-select 0 --query "SELECT 303" --query "SELE" 2>&1 | grep -o 'Syntax error'
|
||||
|
@ -1,2 +1,3 @@
|
||||
allow_introspection_functions 1
|
||||
storage_file_read_method mmap
|
||||
implicit_select 1
|
||||
|
Loading…
Reference in New Issue
Block a user