File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7775,12 +7775,13 @@ sub schema_item_exists {
7775
7775
next if exists $it -> {schemaname } and keys %{ $itemhash -> {$db1 }{schema } } and ! exists $itemhash -> {$db2 }{schema }{ $it -> {schemaname } };
7776
7776
}
7777
7777
7778
- # # Skip if this item has a table, but the table does not match
7778
+ # # Skip if this item has a table, but the table does not match (or if 'notables' is set)
7779
7779
if ($item_class ne ' table' ) {
7780
7780
my $it = $itemhash -> {$db1 }{$item_class }{$name };
7781
7781
next if exists $it -> {tablename }
7782
7782
and exists $itemhash -> {$db1 }{table }{ $it -> {tablename } }
7783
- and exists $itemhash -> {$db2 }{table }{ $it -> {tablename } };
7783
+ and ! exists $itemhash -> {$db2 }{table }{ $it -> {tablename } };
7784
+ next if exists $it -> {tablename } and $opt {filtered }{notable };
7784
7785
}
7785
7786
7786
7787
my $one = ' 1' ;
You can’t perform that action at this time.
0 commit comments