mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
Updated tests for schema iterator
This commit is contained in:
@@ -4269,7 +4269,7 @@ sub database_is_allowed {
|
||||
|
||||
my $filter = $self->{filters};
|
||||
|
||||
if ( $db =~ m/information_schema|performance_schema|lost\+found/ ) {
|
||||
if ( $db =~ m/information_schema|performance_schema|lost\+found|percona|percona_schema/ ) {
|
||||
PTDEBUG && _d('Database', $db, 'is a system database, ignoring');
|
||||
return 0;
|
||||
}
|
||||
@@ -4312,12 +4312,20 @@ sub table_is_allowed {
|
||||
|
||||
return 0 if $db eq 'mysql' && $tbl =~ m/^(?:
|
||||
general_log
|
||||
|slow_log
|
||||
|gtid_execution
|
||||
|innodb_index_stats
|
||||
|innodb_table_stats
|
||||
|inventory
|
||||
|plugin
|
||||
|proc
|
||||
|slave_master_info
|
||||
|slave_relay_log_info
|
||||
|slave_worker_info
|
||||
|slow_log
|
||||
)$/x;
|
||||
|
||||
return 0 if $db eq 'sys' && $tbl =~ m/^(?:
|
||||
sys_config
|
||||
)$/x;
|
||||
|
||||
if ( $filter->{'ignore-tables'}->{'*'}->{$tbl}
|
||||
|
Reference in New Issue
Block a user