mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-18 08:24:06 +00:00
Auto-skip mysql.slow|general_log tables.
This commit is contained in:
@@ -414,6 +414,11 @@ sub table_is_allowed {
|
||||
|
||||
my $filter = $self->{filters};
|
||||
|
||||
# Always auto-skip these pseudo tables.
|
||||
if ( $db eq 'mysql' && ($tbl eq 'general_log' || $tbl eq 'slow_log') ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ( $filter->{'ignore-tables'}->{$tbl}
|
||||
&& ($filter->{'ignore-tables'}->{$tbl} eq '*'
|
||||
|| $filter->{'ignore-tables'}->{$tbl} eq $db) ) {
|
||||
|
Reference in New Issue
Block a user