~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/client_xml.test

  • Committer: Brian Aker
  • Date: 2008-11-04 15:39:09 UTC
  • mfrom: (575.1.2 devel)
  • Revision ID: brian@tangent.org-20081104153909-c72hn65udxs1ccal
Merge of Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Test of the xml output of the 'mysql' and 'mysqldump' clients -- makes
2
 
# sure that basic encoding issues are handled properly
3
 
create table t1 (
4
 
  `a&b` int,
5
 
  `a<b` int,
6
 
  `a>b` text
7
 
);
8
 
insert into t1 values (1, 2, 'a&b a<b a>b');
9
 
--exec $MYSQL --xml test -e "select * from t1"
10
 
--exec $DRIZZLE_DUMP --xml --skip-create test
11
 
 
12
 
--exec $MYSQL --xml test -e "select count(*) from t1"
13
 
--exec $MYSQL --xml test -e "select 1 < 2 from dual"
14
 
--exec $MYSQL --xml test -e "select 1 > 2 from dual"
15
 
--exec $MYSQL --xml test -e "select 1 & 3 from dual"
16
 
--exec $MYSQL --xml test -e "select null from dual"
17
 
--exec $MYSQL --xml test -e "select 1 limit 0"
18
 
--exec $MYSQL --xml test -vv -e "select 1 limit 0"
19
 
 
20
 
drop table t1;