mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-26 01:02:25 +08:00
Fix for 1079341: Skip foreign key checks on MyISAM tables
This commit is contained in:
@@ -9130,6 +9130,11 @@ sub find_child_tables {
|
||||
}
|
||||
my ($tbl, $cxn, $q) = @args{@required_args};
|
||||
|
||||
if ( lc($tbl->{tbl_struct}->{engine} || '') eq 'myisam' ) {
|
||||
PTDEBUG && _d(q{MyISAM table, not looking for child tables});
|
||||
return;
|
||||
}
|
||||
|
||||
PTDEBUG && _d('Finding child tables');
|
||||
|
||||
my $sql = "SELECT table_schema, table_name "
|
||||
|
||||
Reference in New Issue
Block a user