Fix for 1079341: Skip foreign key checks on MyISAM tables

This commit is contained in:
Brian Fraser
2012-11-16 10:58:30 -03:00
parent 23dce0fe84
commit 54e9dc1a46

View File

@@ -9129,6 +9129,11 @@ sub find_child_tables {
die "I need a $arg argument" unless $args{$arg};
}
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');