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
8c83f14b
Commit
8c83f14b
authored
Aug 10, 2005
by
patg@radha.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG #12253. Fixed logic the prevented repair when "--fast" was included
in invoking mysqlcheck.
parent
978d67a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
client/mysqlcheck.c
client/mysqlcheck.c
+8
-3
No files found.
client/mysqlcheck.c
View file @
8c83f14b
...
...
@@ -575,8 +575,13 @@ static void print_result()
if
(
status
)
{
/*
if there was an error with the table, we have --auto-repair set,
and this isn't a repair op, then add the table to the tables4repair
list
*/
if
(
found_error
&&
opt_auto_repair
&&
what_to_do
!=
DO_REPAIR
&&
(
!
opt_fast
||
strcmp
(
row
[
3
],
"OK"
)
))
strcmp
(
row
[
3
],
"OK"
))
insert_dynamic
(
&
tables4repair
,
prev
);
found_error
=
0
;
if
(
opt_silent
)
...
...
@@ -595,8 +600,8 @@ static void print_result()
strmov
(
prev
,
row
[
0
]);
putchar
(
'\n'
);
}
if
(
found_error
&&
opt_auto_repair
&&
what_to_do
!=
DO_REPAIR
&&
!
opt_fast
)
/* add the last table to be repaired to the list */
if
(
found_error
&&
opt_auto_repair
&&
what_to_do
!=
DO_REPAIR
)
insert_dynamic
(
&
tables4repair
,
prev
);
mysql_free_result
(
res
);
}
...
...
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