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:
Bernard Grymonpon
2019-09-25 12:10:22 +02:00
committed by GitHub
parent c107e4fb42
commit 99d3de8297

View File

@@ -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());