mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +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:
13
mysql-test/t/multi_statement.test
Normal file
13
mysql-test/t/multi_statement.test
Normal file
@@ -0,0 +1,13 @@
|
||||
select 1;
|
||||
delimiter ||||;
|
||||
select 2;
|
||||
select 3;
|
||||
select 4||||
|
||||
delimiter 'abcd'||||
|
||||
select 5;
|
||||
select 6;
|
||||
select 50, 'abc';'abcd'
|
||||
select "abcd'";'abcd'select "'abcd";'abcd'
|
||||
select 5'abcd'
|
||||
delimiter ;'abcd'
|
||||
select 'finish';
|
||||
Reference in New Issue
Block a user