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
3e9c5559
Commit
3e9c5559
authored
Aug 28, 2003
by
ram@mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for the bug #1125 mysqldump -X creates invalid XML
parent
63cf4946
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
client/mysqldump.c
client/mysqldump.c
+4
-4
No files found.
client/mysqldump.c
View file @
3e9c5559
...
...
@@ -1137,7 +1137,7 @@ static void dumpTable(uint numFields, char *table)
safe_exit
(
EX_CONSCHECK
);
return
;
}
if
(
extended_insert
)
if
(
extended_insert
&&
!
opt_xml
)
{
ulong
length
=
lengths
[
i
];
if
(
i
==
0
)
...
...
@@ -1222,7 +1222,7 @@ static void dumpTable(uint numFields, char *table)
if
(
opt_xml
)
fprintf
(
md_result_file
,
"
\t
</row>
\n
"
);
if
(
extended_insert
)
if
(
extended_insert
&&
!
opt_xml
)
{
ulong
row_length
;
dynstr_append
(
&
extended_row
,
")"
);
...
...
@@ -1404,7 +1404,7 @@ static int init_dumping(char *database)
(
opt_quoted
?
"`"
:
""
));
}
}
if
(
extended_insert
)
if
(
extended_insert
&&
!
opt_xml
)
if
(
init_dynamic_string
(
&
extended_row
,
""
,
1024
,
1024
))
exit
(
EX_EOM
);
return
0
;
...
...
@@ -1676,7 +1676,7 @@ int main(int argc, char **argv)
if
(
md_result_file
!=
stdout
)
my_fclose
(
md_result_file
,
MYF
(
0
));
my_free
(
opt_password
,
MYF
(
MY_ALLOW_ZERO_PTR
));
if
(
extended_insert
)
if
(
extended_insert
&
!
opt_xml
)
dynstr_free
(
&
extended_row
);
my_end
(
0
);
return
(
first_error
);
...
...
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