mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Portability fix (for example NetWare doesn't support table name like t"1").
This commit is contained in:
@ -43,15 +43,15 @@ INSERT INTO t1 VALUES (1, "test", "tes"), (2, "TEST", "TES");
|
|||||||
</database>
|
</database>
|
||||||
</mysqldump>
|
</mysqldump>
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
CREATE TABLE `"t"1` (`a"b"` char(2));
|
CREATE TABLE t1 (`a"b"` char(2));
|
||||||
INSERT INTO `"t"1` VALUES ("1\""), ("\"2");
|
INSERT INTO t1 VALUES ("1\""), ("\"2");
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<mysqldump>
|
<mysqldump>
|
||||||
<database name="test">
|
<database name="test">
|
||||||
<table_structure name=""t"1">
|
<table_structure name="t1">
|
||||||
<field Field="a"b"" Type="char(2)" Null="YES" Key="" Extra="" />
|
<field Field="a"b"" Type="char(2)" Null="YES" Key="" Extra="" />
|
||||||
</table_structure>
|
</table_structure>
|
||||||
<table_data name=""t"1">
|
<table_data name="t1">
|
||||||
<row>
|
<row>
|
||||||
<field name="a"b"">1"</field>
|
<field name="a"b"">1"</field>
|
||||||
</row>
|
</row>
|
||||||
@ -61,4 +61,4 @@ INSERT INTO `"t"1` VALUES ("1\""), ("\"2");
|
|||||||
</table_data>
|
</table_data>
|
||||||
</database>
|
</database>
|
||||||
</mysqldump>
|
</mysqldump>
|
||||||
DROP TABLE `"t"1`;
|
DROP TABLE t1;
|
||||||
|
@ -18,7 +18,7 @@ DROP TABLE t1;
|
|||||||
# Bug #1707
|
# Bug #1707
|
||||||
#
|
#
|
||||||
|
|
||||||
CREATE TABLE `"t"1` (`a"b"` char(2));
|
CREATE TABLE t1 (`a"b"` char(2));
|
||||||
INSERT INTO `"t"1` VALUES ("1\""), ("\"2");
|
INSERT INTO t1 VALUES ("1\""), ("\"2");
|
||||||
--exec $MYSQL_DUMP --skip-all -X test \"t\"1
|
--exec $MYSQL_DUMP --skip-all -X test t1
|
||||||
DROP TABLE `"t"1`;
|
DROP TABLE t1;
|
||||||
|
Reference in New Issue
Block a user