mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-20 01:04:40 +08:00
Merged fix-1079341-pt-osc-skip-myisam-fk-checks
This commit is contained in:
@@ -9130,6 +9130,11 @@ sub find_child_tables {
|
|||||||
}
|
}
|
||||||
my ($tbl, $cxn, $q) = @args{@required_args};
|
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');
|
PTDEBUG && _d('Finding child tables');
|
||||||
|
|
||||||
my $sql = "SELECT table_schema, table_name "
|
my $sql = "SELECT table_schema, table_name "
|
||||||
|
|||||||
Reference in New Issue
Block a user