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
f5a24e58
Commit
f5a24e58
authored
Mar 26, 2007
by
ramil/ram@ramil.myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/ram/work/b25993/b25993.5.0
into mysql.com:/home/ram/work/b25993/b25993.5.1
parents
6a7ef184
74b3cdb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
client/mysqldump.c
client/mysqldump.c
+3
-3
mysql-test/t/mysqldump.test
mysql-test/t/mysqldump.test
+10
-0
No files found.
client/mysqldump.c
View file @
f5a24e58
...
...
@@ -2016,7 +2016,7 @@ static uint get_table_structure(char *table, char *db, char *table_type,
dynstr_append_checked
(
&
insert_pat
,
insert_option
);
dynstr_append_checked
(
&
insert_pat
,
"INTO "
);
dynstr_append_checked
(
&
insert_pat
,
result_table
);
if
(
opt_
complete_insert
)
if
(
complete_insert
)
dynstr_append_checked
(
&
insert_pat
,
" ("
);
else
{
...
...
@@ -2040,7 +2040,7 @@ static uint get_table_structure(char *table, char *db, char *table_type,
dynstr_append_checked
(
&
insert_pat
,
", "
);
}
init
=
1
;
if
(
opt_
complete_insert
)
if
(
complete_insert
)
dynstr_append_checked
(
&
insert_pat
,
quote_name
(
row
[
SHOW_FIELDNAME
],
name_buff
,
0
));
if
(
!
opt_no_create_info
)
...
...
@@ -2198,7 +2198,7 @@ static uint get_table_structure(char *table, char *db, char *table_type,
check_io
(
sql_file
);
}
}
if
(
opt_
complete_insert
)
if
(
complete_insert
)
{
dynstr_append_checked
(
&
insert_pat
,
") VALUES "
);
if
(
!
extended_insert
)
...
...
mysql-test/t/mysqldump.test
View file @
f5a24e58
...
...
@@ -1455,6 +1455,16 @@ INSERT INTO t1 VALUES (1), (2);
DROP
TABLE
t1
;
#
# Bug #25993: crashe with a merge table and -c
#
CREATE
TABLE
t2
(
a
int
);
CREATE
TABLE
t3
(
a
int
);
CREATE
TABLE
t1
(
a
int
)
ENGINE
=
merge
UNION
=
(
t2
,
t3
);
--
exec
$MYSQL_DUMP
--
skip
-
comments
-
c
test
DROP
TABLE
t1
,
t2
,
t3
;
--
echo
#
--
echo
# End of 5.0 tests
--
echo
#
...
...
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