summaryrefslogtreecommitdiff
path: root/mysql-test/r/multi_statement.result
diff options
context:
space:
mode:
authorunknown <jani@rhols221.adsl.netsonic.fi>2003-12-16 06:09:44 +0200
committerunknown <jani@rhols221.adsl.netsonic.fi>2003-12-16 06:09:44 +0200
commit3467862b329628952320146f589fc97ddd021182 (patch)
tree4c5e390cf6c8ffe67f23747a8cea58491acc274c /mysql-test/r/multi_statement.result
parentcaf4fd96f26a25f57e10d578d518f0a63109df2b (diff)
downloadmariadb-git-3467862b329628952320146f589fc97ddd021182.tar.gz
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.
Diffstat (limited to 'mysql-test/r/multi_statement.result')
-rw-r--r--mysql-test/r/multi_statement.result33
1 files changed, 33 insertions, 0 deletions
diff --git a/mysql-test/r/multi_statement.result b/mysql-test/r/multi_statement.result
new file mode 100644
index 00000000000..4451b0a355e
--- /dev/null
+++ b/mysql-test/r/multi_statement.result
@@ -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