mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Added test [#METR-22252].
This commit is contained in:
parent
635fed9055
commit
ffbd901c9c
106
dbms/tests/queries/0_stateless/00366_multi_statements.reference
Normal file
106
dbms/tests/queries/0_stateless/00366_multi_statements.reference
Normal file
@ -0,0 +1,106 @@
|
||||
1
|
||||
1
|
||||
1
|
||||
1
|
||||
Syntax error
|
||||
Syntax error
|
||||
Syntax error
|
||||
Syntax error
|
||||
Syntax error
|
||||
1
|
||||
2
|
||||
1
|
||||
2
|
||||
Syntax error
|
||||
1
|
||||
2
|
||||
3
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
1
|
||||
2
|
||||
3
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
1
|
||||
1
|
||||
1
|
||||
1
|
||||
Syntax error
|
||||
Syntax error
|
||||
Syntax error
|
||||
Syntax error
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
1
|
||||
2
|
||||
3
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
@ -7,7 +7,7 @@ clickhouse-client --query="SELECT 1 ; "
|
||||
|
||||
clickhouse-client --query="SELECT 1; S" 2>&1 | grep -o 'Syntax error'
|
||||
clickhouse-client --query="SELECT 1; SELECT 2" 2>&1 | grep -o 'Syntax error'
|
||||
clickhouse-client --query="SELECT 1; SELECT 2; 2>&1 | grep -o 'Syntax error'"
|
||||
clickhouse-client --query="SELECT 1; SELECT 2;" 2>&1 | grep -o 'Syntax error'
|
||||
clickhouse-client --query="SELECT 1; SELECT 2; SELECT" 2>&1 | grep -o 'Syntax error'
|
||||
|
||||
clickhouse-client -n --query="SELECT 1; S" 2>&1 | grep -o 'Syntax error'
|
||||
@ -21,15 +21,11 @@ clickhouse-client --query="INSERT INTO test.t VALUES (1),(2),(3);"
|
||||
clickhouse-client --query="SELECT * FROM test.t"
|
||||
clickhouse-client --query="INSERT INTO test.t VALUES" <<< "(4),(5),(6)"
|
||||
clickhouse-client --query="SELECT * FROM test.t"
|
||||
clickhouse-client --query="INSERT INTO test.t VALUES (7)" <<< ",(8),(9)"
|
||||
clickhouse-client --query="SELECT * FROM test.t"
|
||||
|
||||
clickhouse-client -n --query="INSERT INTO test.t VALUES (1),(2),(3);"
|
||||
clickhouse-client -n --query="SELECT * FROM test.t"
|
||||
clickhouse-client -n --query="INSERT INTO test.t VALUES" <<< "(4),(5),(6)"
|
||||
clickhouse-client -n --query="SELECT * FROM test.t"
|
||||
clickhouse-client -n --query="INSERT INTO test.t VALUES (7)" <<< ",(8),(9)"
|
||||
clickhouse-client -n --query="SELECT * FROM test.t"
|
||||
|
||||
curl -sS 'http://localhost:8123/' -d "SELECT 1"
|
||||
curl -sS 'http://localhost:8123/' -d "SELECT 1;"
|
||||
|
Loading…
Reference in New Issue
Block a user