Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
906ad716
Commit
906ad716
authored
Oct 31, 2003
by
ram@gw.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new mysqldump -X test (bug #1707)
parent
14742557
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
3 deletions
+33
-3
mysql-test/r/mysqldump.result
mysql-test/r/mysqldump.result
+23
-2
mysql-test/t/mysqldump.test
mysql-test/t/mysqldump.test
+10
-1
No files found.
mysql-test/r/mysqldump.result
View file @
906ad716
...
@@ -4,14 +4,35 @@ INSERT INTO t1 VALUES (1), (2);
...
@@ -4,14 +4,35 @@ INSERT INTO t1 VALUES (1), (2);
<?xml version="1.0"?>
<?xml version="1.0"?>
<mysqldump>
<mysqldump>
<database name="test">
<database name="test">
<table name="t1">
<table_structure name="t1">
<field Field="a" Type="int(11)" Null="YES" />
</table_structure>
<table_data name="t1">
<row>
<row>
<field name="a">1</field>
<field name="a">1</field>
</row>
</row>
<row>
<row>
<field name="a">2</field>
<field name="a">2</field>
</row>
</row>
</table>
</table
_data
>
</database>
</database>
</mysqldump>
</mysqldump>
DROP TABLE t1;
DROP TABLE t1;
CREATE TABLE `t"1` (`a"b"c"` char(2));
INSERT INTO `t"1` VALUES ("\"1"), ("2\"");
<?xml version="1.0"?>
<mysqldump>
<database name="test">
<table_structure name="t"1">
<field Field="a"b"c"" Type="char(2)" Null="YES" />
</table_structure>
<table_data name="t"1">
<row>
<field name="a"b"c"">"1</field>
</row>
<row>
<field name="a"b"c"">2"</field>
</row>
</table_data>
</database>
</mysqldump>
mysql-test/t/mysqldump.test
View file @
906ad716
...
@@ -6,5 +6,14 @@ DROP TABLE IF EXISTS t1;
...
@@ -6,5 +6,14 @@ DROP TABLE IF EXISTS t1;
CREATE
TABLE
t1
(
a
int
);
CREATE
TABLE
t1
(
a
int
);
INSERT
INTO
t1
VALUES
(
1
),
(
2
);
INSERT
INTO
t1
VALUES
(
1
),
(
2
);
--
exec
$MYSQL_DUMP
-
X
test
t1
--
exec
$MYSQL_DUMP
-
-
skip
-
all
-
X
test
t1
DROP
TABLE
t1
;
DROP
TABLE
t1
;
#
# Bug #1707
#
CREATE
TABLE
`t"1`
(
`a"b"c"`
char
(
2
));
INSERT
INTO
`t"1`
VALUES
(
"
\"
1"
),
(
"2
\"
"
);
--
exec
$MYSQL_DUMP
--
skip
-
all
-
X
test
DROP
TABLE
`t"1`
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment