summaryrefslogtreecommitdiff
path: root/mysql-test/r/mysql.result
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2005-05-17 21:14:01 +0200
committerunknown <msvensson@neptunus.(none)>2005-05-17 21:14:01 +0200
commit752fa01953e89cc74c8ec7e9e05f5fb1380ca87a (patch)
treeda921d6542268a5a6d8ad3d68541b5cca8dc31d6 /mysql-test/r/mysql.result
parenta473d7db72e897aa4b66e7d3a285c867fb50e156 (diff)
downloadmariadb-git-752fa01953e89cc74c8ec7e9e05f5fb1380ca87a.tar.gz
BUG#9879 delimiter command discrepancy (4.1 vs. 5.0, mysql vs. mysqltest)
- Added testcases to test delimiters in 5.0 - In 5.0 it's allowed to have a up to 16 byte string as delimiter, everything after the delimiter token will be treated as the delimiter. It's even allowed to set delimiter to 'delimiter', ':;' or'MySQL'
Diffstat (limited to 'mysql-test/r/mysql.result')
-rw-r--r--mysql-test/r/mysql.result50
1 files changed, 50 insertions, 0 deletions
diff --git a/mysql-test/r/mysql.result b/mysql-test/r/mysql.result
new file mode 100644
index 00000000000..feb0b2348cd
--- /dev/null
+++ b/mysql-test/r/mysql.result
@@ -0,0 +1,50 @@
+drop table if exists t1;
+create table t1(a int);
+insert into t1 values(1);
+
+Test default delimiter ;
+a
+1
+
+Test delimiter without arg
+
+Test delimiter :
+a
+1
+
+Test delimiter :
+a
+1
+
+Test delimiter :;
+a
+1
+
+Test delimiter //
+a
+1
+
+Test delimiter MySQL
+a
+1
+
+Test delimiter delimiter
+a
+1
+
+Test delimiter : from command line
+a
+1
+
+Test delimiter :; from command line
+a
+1
+
+Test 'go' command(vertical output) G
+*************************** 1. row ***************************
+a: 1
+
+Test 'go' command g
+a
+1
+drop table t1;