mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
6e0691f54f
mysql-test/t/client_xml.test: Exclude create in mysqldump test, it includes timestamp mysql-test/r/client_xml.result: Update result file
18 lines
606 B
Text
18 lines
606 B
Text
# Test of the xml output of the 'mysql' and 'mysqldump' clients -- makes
|
|
# sure that basic encoding issues are handled properly
|
|
create table t1 (
|
|
`a&b` int,
|
|
`a<b` int,
|
|
`a>b` text
|
|
);
|
|
insert into t1 values (1, 2, 'a&b a<b a>b');
|
|
--exec $MYSQL --xml test -e 'select * from t1'
|
|
--exec $MYSQL_DUMP --xml --skip-create test
|
|
|
|
--exec $MYSQL --xml test -e 'select count(*) from t1'
|
|
--exec $MYSQL --xml test -e 'select 1 < 2 from dual'
|
|
--exec $MYSQL --xml test -e 'select 1 > 2 from dual'
|
|
--exec $MYSQL --xml test -e 'select 1 & 3 from dual'
|
|
--exec $MYSQL --xml test -e 'select null from dual'
|
|
|
|
drop table t1;
|