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
+5
View File
@@ -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 "