mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 18:30:16 +00:00
PT-2110 - Fixed PTDEBUG output with --ignore-engines option (#555)
This commit is contained in:
@@ -462,10 +462,10 @@ sub table_is_allowed {
|
||||
|slave_master_info
|
||||
|slave_relay_log_info
|
||||
|slave_worker_info
|
||||
|slow_log
|
||||
|slow_log
|
||||
)$/x;
|
||||
|
||||
if ( $filter->{'ignore-tables'}->{'*'}->{$tbl}
|
||||
if ( $filter->{'ignore-tables'}->{'*'}->{$tbl}
|
||||
|| $filter->{'ignore-tables'}->{$db}->{$tbl}) {
|
||||
PTDEBUG && _d('Table', $tbl, 'is in --ignore-tables list');
|
||||
return 0;
|
||||
@@ -478,7 +478,7 @@ sub table_is_allowed {
|
||||
}
|
||||
|
||||
if ( $filter->{'tables'}
|
||||
&& (!$filter->{'tables'}->{'*'}->{$tbl} && !$filter->{'tables'}->{$db}->{$tbl}) ) {
|
||||
&& (!$filter->{'tables'}->{'*'}->{$tbl} && !$filter->{'tables'}->{$db}->{$tbl}) ) {
|
||||
PTDEBUG && _d('Table', $tbl, 'is not in --tables list, ignoring');
|
||||
return 0;
|
||||
}
|
||||
@@ -527,7 +527,7 @@ sub engine_is_allowed {
|
||||
my $filter = $self->{filters};
|
||||
|
||||
if ( $filter->{'ignore-engines'}->{$engine} ) {
|
||||
PTDEBUG && _d('Engine', $engine, 'is in --ignore-databases list');
|
||||
PTDEBUG && _d('Engine', $engine, 'is in --ignore-engines list');
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user