1
drop table if exists t1;
2
create table t1 (a int, b varchar(64));
3
load xml infile '../std_data_ln/loadxml.dat' into table t1
4
rows identified by '<row>';
5
select * from t1 order by a;
12
112 b112 & < > " ' &unknown; -- check entities
19
load xml infile '../std_data_ln/loadxml.dat' into table t1
20
rows identified by '<row>' ignore 4 rows;
21
select * from t1 order by a;
24
112 b112 & < > " ' &unknown; -- check entities
31
load xml infile 'MYSQLTEST_VARDIR/loadxml-dump.xml' into table t1 rows identified by '<row>';;
32
select * from t1 order by a;
35
112 b112 & < > " ' &unknown; -- check entities
41
--Check that default row tag is '<row>
43
load xml infile 'MYSQLTEST_VARDIR/loadxml-dump.xml' into table t1;;
44
select * from t1 order by a;
47
112 b112 & < > " ' &unknown; -- check entities