Skip to content
Snippets Groups Projects
Commit 53f08a53 authored by Thomas Maurel's avatar Thomas Maurel
Browse files

Automatically repair the table if myisamchk report any corruption

parent c64dce5c
No related branches found
No related tags found
No related merge requests found
......@@ -1058,7 +1058,7 @@ TABLE:
{
my @check_cmd = (
'myisamchk', '--check', '--check-only-changed',
'--update-state', '--silent', '--silent', # Yes, twice.
'--update-state', '--force', '--silent', '--silent', # Yes, twice.
$index );
if ( system(@check_cmd) != 0 ) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment