1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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'
This commit is contained in:
msvensson@neptunus.(none)
2005-05-17 21:14:01 +02:00
parent 3c81444476
commit d37ca8bfa7
3 changed files with 132 additions and 0 deletions

50
mysql-test/r/mysql.result Normal file
View File

@ -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;