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
8b3f8232
Commit
8b3f8232
authored
Oct 24, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use same type for local variables as arguments, avoid compile error on NetWare
parent
b0626431
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
client/mysqldump.c
client/mysqldump.c
+2
-2
No files found.
client/mysqldump.c
View file @
8b3f8232
...
@@ -1195,7 +1195,7 @@ static void print_xml_tag(FILE * xml_file, const char* sbeg, const char* send,
...
@@ -1195,7 +1195,7 @@ static void print_xml_tag(FILE * xml_file, const char* sbeg, const char* send,
const
char
*
first_attribute_name
,
...)
const
char
*
first_attribute_name
,
...)
{
{
va_list
arg_list
;
va_list
arg_list
;
char
*
attribute_name
,
*
attribute_value
;
c
onst
c
har
*
attribute_name
,
*
attribute_value
;
fputs
(
sbeg
,
xml_file
);
fputs
(
sbeg
,
xml_file
);
fputc
(
'<'
,
xml_file
);
fputc
(
'<'
,
xml_file
);
...
@@ -1318,7 +1318,7 @@ static void print_xml_row(FILE *xml_file, const char *row_name,
...
@@ -1318,7 +1318,7 @@ static void print_xml_row(FILE *xml_file, const char *row_name,
static
void
print_blob_as_hex
(
FILE
*
output_file
,
const
char
*
str
,
ulong
len
)
static
void
print_blob_as_hex
(
FILE
*
output_file
,
const
char
*
str
,
ulong
len
)
{
{
/* sakaik got the idea to to provide blob's in hex notation. */
/* sakaik got the idea to to provide blob's in hex notation. */
char
*
ptr
=
str
,
*
end
=
ptr
+
len
;
c
onst
c
har
*
ptr
=
str
,
*
end
=
ptr
+
len
;
for
(;
ptr
<
end
;
ptr
++
)
for
(;
ptr
<
end
;
ptr
++
)
fprintf
(
output_file
,
"%02X"
,
*
((
uchar
*
)
ptr
));
fprintf
(
output_file
,
"%02X"
,
*
((
uchar
*
)
ptr
));
check_io
(
output_file
);
check_io
(
output_file
);
...
...
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