2003-10-31 13:37:36 +01:00
|
|
|
DROP TABLE IF EXISTS t1, `"t"1`;
|
2003-09-19 11:02:49 +02:00
|
|
|
CREATE TABLE t1(a int);
|
|
|
|
INSERT INTO t1 VALUES (1), (2);
|
|
|
|
<?xml version="1.0"?>
|
|
|
|
<mysqldump>
|
|
|
|
<database name="test">
|
2003-10-31 08:29:57 +01:00
|
|
|
<table_structure name="t1">
|
2003-11-03 13:49:39 +01:00
|
|
|
<field Field="a" Type="int(11)" Null="YES" Key="" Extra="" />
|
2003-10-31 08:29:57 +01:00
|
|
|
</table_structure>
|
|
|
|
<table_data name="t1">
|
2003-09-19 11:02:49 +02:00
|
|
|
<row>
|
|
|
|
<field name="a">1</field>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<field name="a">2</field>
|
|
|
|
</row>
|
2003-10-31 08:29:57 +01:00
|
|
|
</table_data>
|
2003-09-19 11:02:49 +02:00
|
|
|
</database>
|
|
|
|
</mysqldump>
|
|
|
|
DROP TABLE t1;
|
2003-11-03 13:49:39 +01:00
|
|
|
CREATE TABLE t1(a int, b text, c varchar(3));
|
|
|
|
INSERT INTO t1 VALUES (1, "test", "tes"), (2, "TEST", "TES");
|
|
|
|
<?xml version="1.0"?>
|
|
|
|
<mysqldump>
|
|
|
|
<database name="test">
|
|
|
|
<table_structure name="t1">
|
|
|
|
<field Field="a" Type="int(11)" Null="YES" Key="" Extra="" />
|
|
|
|
<field Field="b" Type="text" Null="YES" Key="" Extra="" />
|
|
|
|
<field Field="c" Type="char(3)" Null="YES" Key="" Extra="" />
|
|
|
|
</table_structure>
|
|
|
|
<table_data name="t1">
|
|
|
|
<row>
|
|
|
|
<field name="a">1</field>
|
|
|
|
<field name="b">test</field>
|
|
|
|
<field name="c">tes</field>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<field name="a">2</field>
|
|
|
|
<field name="b">TEST</field>
|
|
|
|
<field name="c">TES</field>
|
|
|
|
</row>
|
|
|
|
</table_data>
|
|
|
|
</database>
|
|
|
|
</mysqldump>
|
|
|
|
DROP TABLE t1;
|
2003-10-31 13:37:36 +01:00
|
|
|
CREATE TABLE `"t"1` (`a"b"` char(2));
|
|
|
|
INSERT INTO `"t"1` VALUES ("1\""), ("\"2");
|
2003-10-31 08:29:57 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<mysqldump>
|
|
|
|
<database name="test">
|
2003-10-31 13:37:36 +01:00
|
|
|
<table_structure name=""t"1">
|
2003-11-03 13:49:39 +01:00
|
|
|
<field Field="a"b"" Type="char(2)" Null="YES" Key="" Extra="" />
|
2003-10-31 08:29:57 +01:00
|
|
|
</table_structure>
|
2003-10-31 13:37:36 +01:00
|
|
|
<table_data name=""t"1">
|
2003-10-31 08:29:57 +01:00
|
|
|
<row>
|
2003-10-31 13:37:36 +01:00
|
|
|
<field name="a"b"">1"</field>
|
2003-10-31 08:29:57 +01:00
|
|
|
</row>
|
|
|
|
<row>
|
2003-10-31 13:37:36 +01:00
|
|
|
<field name="a"b"">"2</field>
|
2003-10-31 08:29:57 +01:00
|
|
|
</row>
|
|
|
|
</table_data>
|
|
|
|
</database>
|
|
|
|
</mysqldump>
|
2003-10-31 13:37:36 +01:00
|
|
|
DROP TABLE `"t"1`;
|