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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
61e682b8
Commit
61e682b8
authored
Nov 05, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fix (for example NetWare doesn't support table name like t"1").
parent
abffab88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
mysql-test/r/mysqldump.result
mysql-test/r/mysqldump.result
+5
-5
mysql-test/t/mysqldump.test
mysql-test/t/mysqldump.test
+4
-4
No files found.
mysql-test/r/mysqldump.result
View file @
61e682b8
...
...
@@ -43,15 +43,15 @@ INSERT INTO t1 VALUES (1, "test", "tes"), (2, "TEST", "TES");
</database>
</mysqldump>
DROP TABLE t1;
CREATE TABLE
`"t"1`
(`a"b"` char(2));
INSERT INTO
`"t"1`
VALUES ("1\""), ("\"2");
CREATE TABLE
t1
(`a"b"` char(2));
INSERT INTO
t1
VALUES ("1\""), ("\"2");
<?xml version="1.0"?>
<mysqldump>
<database name="test">
<table_structure name="
"t"
1">
<table_structure name="
t
1">
<field Field="a"b"" Type="char(2)" Null="YES" Key="" Extra="" />
</table_structure>
<table_data name="
"t"
1">
<table_data name="
t
1">
<row>
<field name="a"b"">1"</field>
</row>
...
...
@@ -61,4 +61,4 @@ INSERT INTO `"t"1` VALUES ("1\""), ("\"2");
</table_data>
</database>
</mysqldump>
DROP TABLE
`"t"1`
;
DROP TABLE
t1
;
mysql-test/t/mysqldump.test
View file @
61e682b8
...
...
@@ -18,7 +18,7 @@ DROP TABLE t1;
# Bug #1707
#
CREATE
TABLE
`"t"1`
(
`a"b"`
char
(
2
));
INSERT
INTO
`"t"1`
VALUES
(
"1
\"
"
),
(
"
\"
2"
);
--
exec
$MYSQL_DUMP
--
skip
-
all
-
X
test
\
"t
\"
1
DROP TABLE
`"
t
"1`
;
CREATE
TABLE
t1
(
`a"b"`
char
(
2
));
INSERT
INTO
t1
VALUES
(
"1
\"
"
),
(
"
\"
2"
);
--
exec
$MYSQL_DUMP
--
skip
-
all
-
X
test
t
1
DROP
TABLE
t1
;
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