mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Added support for multi statement tests. Use mysqltest internal
command delimiter to change the default delimiter (;) to something else, a string upto 16 characters is allowed. Separate the sub queries with ';' and end the whole statement with your own delimiter.
This commit is contained in:
33
mysql-test/r/multi_statement.result
Normal file
33
mysql-test/r/multi_statement.result
Normal file
@@ -0,0 +1,33 @@
|
||||
select 1;
|
||||
1
|
||||
1
|
||||
select 2;
|
||||
select 3;
|
||||
select 4||||
|
||||
2
|
||||
2
|
||||
3
|
||||
3
|
||||
4
|
||||
4
|
||||
select 5;
|
||||
select 6;
|
||||
select 50, 'abc';'abcd'
|
||||
5
|
||||
5
|
||||
6
|
||||
6
|
||||
50 abc
|
||||
50 abc
|
||||
select "abcd'";'abcd'
|
||||
abcd'
|
||||
abcd'
|
||||
select "'abcd";'abcd'
|
||||
'abcd
|
||||
'abcd
|
||||
select 5'abcd'
|
||||
5
|
||||
5
|
||||
select 'finish';
|
||||
finish
|
||||
finish
|
||||
Reference in New Issue
Block a user