mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02: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:
parent
caf4fd96f2
commit
3467862b32
3 changed files with 264 additions and 186 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue