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
ac924f6b
Commit
ac924f6b
authored
Sep 27, 2005
by
patg@krsna.patg.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG #7815 - Post-review fixes required for push.
parent
8864a9b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
client/mysqldump.c
client/mysqldump.c
+5
-5
No files found.
client/mysqldump.c
View file @
ac924f6b
...
@@ -2959,7 +2959,7 @@ static void print_value(FILE *file, MYSQL_RES *result, MYSQL_ROW row,
...
@@ -2959,7 +2959,7 @@ static void print_value(FILE *file, MYSQL_RES *result, MYSQL_ROW row,
char
check_if_ignore_table
(
const
char
*
table_name
,
char
*
table_type
)
char
check_if_ignore_table
(
const
char
*
table_name
,
char
*
table_type
)
{
{
bool
result
=
IGNORE_NONE
;
char
result
=
IGNORE_NONE
;
char
buff
[
FN_REFLEN
+
80
],
show_name_buff
[
FN_REFLEN
];
char
buff
[
FN_REFLEN
+
80
],
show_name_buff
[
FN_REFLEN
];
MYSQL_RES
*
res
;
MYSQL_RES
*
res
;
MYSQL_ROW
row
;
MYSQL_ROW
row
;
...
@@ -2977,7 +2977,7 @@ char check_if_ignore_table(const char *table_name, char *table_type)
...
@@ -2977,7 +2977,7 @@ char check_if_ignore_table(const char *table_name, char *table_type)
fprintf
(
stderr
,
fprintf
(
stderr
,
"-- Warning: Couldn't get status information for table %s (%s)
\n
"
,
"-- Warning: Couldn't get status information for table %s (%s)
\n
"
,
table_name
,
mysql_error
(
sock
));
table_name
,
mysql_error
(
sock
));
DBUG_RETURN
(
IGNORE_NONE
);
/* assume table is ok */
DBUG_RETURN
(
result
);
/* assume table is ok */
}
}
}
}
if
(
!
(
row
=
mysql_fetch_row
(
res
)))
if
(
!
(
row
=
mysql_fetch_row
(
res
)))
...
@@ -2986,10 +2986,10 @@ char check_if_ignore_table(const char *table_name, char *table_type)
...
@@ -2986,10 +2986,10 @@ char check_if_ignore_table(const char *table_name, char *table_type)
"Error: Couldn't read status information for table %s (%s)
\n
"
,
"Error: Couldn't read status information for table %s (%s)
\n
"
,
table_name
,
mysql_error
(
sock
));
table_name
,
mysql_error
(
sock
));
mysql_free_result
(
res
);
mysql_free_result
(
res
);
DBUG_RETURN
(
IGNORE_NONE
);
/* assume table is ok */
DBUG_RETURN
(
result
);
/* assume table is ok */
}
}
if
(
!
(
row
[
1
]))
if
(
!
(
row
[
1
]))
str
cpy
(
table_type
,
"VIEW"
);
str
make
(
table_type
,
"VIEW"
,
NAME_LEN
-
1
);
else
else
{
{
/*
/*
...
@@ -2998,7 +2998,7 @@ char check_if_ignore_table(const char *table_name, char *table_type)
...
@@ -2998,7 +2998,7 @@ char check_if_ignore_table(const char *table_name, char *table_type)
these types, but we do want to use delayed inserts in the dump if
these types, but we do want to use delayed inserts in the dump if
the table type is _NOT_ one of these types
the table type is _NOT_ one of these types
*/
*/
s
printf
(
table_type
,
"%s"
,
row
[
1
]
);
s
trmake
(
table_type
,
row
[
1
],
NAME_LEN
-
1
);
if
(
opt_delayed
)
if
(
opt_delayed
)
{
{
if
(
strcmp
(
table_type
,
"MyISAM"
)
&&
if
(
strcmp
(
table_type
,
"MyISAM"
)
&&
...
...
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