mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-22 10:58:42 +00:00
Remove $has_child_tables var (#617)
Remove $has_child_tables check as this seems a duplicate of the check within the alter_fk_method block.
This commit is contained in:
@@ -9149,13 +9149,6 @@ sub main {
|
||||
# ########################################################################
|
||||
my $child_tables;
|
||||
|
||||
my $have_child_tables = find_child_tables(
|
||||
tbl => $orig_tbl,
|
||||
Cxn => $cxn,
|
||||
Quoter => $q,
|
||||
only_same_schema_fks => $o->get('only-same-schema-fks'),
|
||||
);
|
||||
|
||||
my $vp = VersionParser->new($cxn->dbh());
|
||||
if (($vp->cmp('8.0.14') >= 0 && $vp->cmp('8.0.17') <= 0) && $vp->flavor() !~ m/maria/i) {
|
||||
my $msg = "There is an error in MySQL that makes the server to die when trying to ".
|
||||
|
Reference in New Issue
Block a user