mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 07:30:02 +00:00
Restrict the FK check if needed
The find_child_tables is a heavy call if there are a lot of tables. This should honor the `only-same-schema-fks` option.
This commit is contained in:

committed by
GitHub

parent
c107e4fb42
commit
99d3de8297
@@ -8969,6 +8969,7 @@ sub main {
|
||||
tbl => $orig_tbl,
|
||||
Cxn => $cxn,
|
||||
Quoter => $q,
|
||||
only_same_schema_fks => $o->get('only-same-schema-fks'),
|
||||
);
|
||||
|
||||
my $vp = VersionParser->new($cxn->dbh());
|
||||
|
Reference in New Issue
Block a user