PT-2110 - Fixed PTDEBUG output with --ignore-engines option (#555)

This commit is contained in:
Kazuya Yokogawa
2022-11-30 20:51:49 +09:00
committed by GitHub
parent c9bf980ef5
commit bc3056f29d
5 changed files with 16 additions and 16 deletions

View File

@@ -3240,10 +3240,10 @@ sub _d {
# ########################################################################### # ###########################################################################
# SchemaIterator package # SchemaIterator package
# This package is a copy without comments from the original. The original # This package is a copy without comments from the original. The original
# with comments and its test file can be found in the Bazaar repository at, # with comments and its test file can be found in the GitHub repository at,
# lib/SchemaIterator.pm # lib/SchemaIterator.pm
# t/lib/SchemaIterator.t # t/lib/SchemaIterator.t
# See https://launchpad.net/percona-toolkit for more information. # See https://github.com/percona/percona-toolkit for more information.
# ########################################################################### # ###########################################################################
{ {
package SchemaIterator; package SchemaIterator;
@@ -3648,7 +3648,7 @@ sub engine_is_allowed {
my $filter = $self->{filters}; my $filter = $self->{filters};
if ( $filter->{'ignore-engines'}->{$engine} ) { 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; return 0;
} }

View File

@@ -4022,10 +4022,10 @@ sub _d {
# ########################################################################### # ###########################################################################
# SchemaIterator package # SchemaIterator package
# This package is a copy without comments from the original. The original # This package is a copy without comments from the original. The original
# with comments and its test file can be found in the Bazaar repository at, # with comments and its test file can be found in the GitHub repository at,
# lib/SchemaIterator.pm # lib/SchemaIterator.pm
# t/lib/SchemaIterator.t # t/lib/SchemaIterator.t
# See https://launchpad.net/percona-toolkit for more information. # See https://github.com/percona/percona-toolkit for more information.
# ########################################################################### # ###########################################################################
{ {
package SchemaIterator; package SchemaIterator;
@@ -4430,7 +4430,7 @@ sub engine_is_allowed {
my $filter = $self->{filters}; my $filter = $self->{filters};
if ( $filter->{'ignore-engines'}->{$engine} ) { 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; return 0;
} }

View File

@@ -7567,10 +7567,10 @@ sub _d {
# ########################################################################### # ###########################################################################
# SchemaIterator package # SchemaIterator package
# This package is a copy without comments from the original. The original # This package is a copy without comments from the original. The original
# with comments and its test file can be found in the Bazaar repository at, # with comments and its test file can be found in the GitHub repository at,
# lib/SchemaIterator.pm # lib/SchemaIterator.pm
# t/lib/SchemaIterator.t # t/lib/SchemaIterator.t
# See https://launchpad.net/percona-toolkit for more information. # See https://github.com/percona/percona-toolkit for more information.
# ########################################################################### # ###########################################################################
{ {
package SchemaIterator; package SchemaIterator;
@@ -7975,7 +7975,7 @@ sub engine_is_allowed {
my $filter = $self->{filters}; my $filter = $self->{filters};
if ( $filter->{'ignore-engines'}->{$engine} ) { 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; return 0;
} }

View File

@@ -7666,10 +7666,10 @@ sub _d {
# ########################################################################### # ###########################################################################
# SchemaIterator package # SchemaIterator package
# This package is a copy without comments from the original. The original # This package is a copy without comments from the original. The original
# with comments and its test file can be found in the Bazaar repository at, # with comments and its test file can be found in the GitHub repository at,
# lib/SchemaIterator.pm # lib/SchemaIterator.pm
# t/lib/SchemaIterator.t # t/lib/SchemaIterator.t
# See https://launchpad.net/percona-toolkit for more information. # See https://github.com/percona/percona-toolkit for more information.
# ########################################################################### # ###########################################################################
{ {
package SchemaIterator; package SchemaIterator;
@@ -8074,7 +8074,7 @@ sub engine_is_allowed {
my $filter = $self->{filters}; my $filter = $self->{filters};
if ( $filter->{'ignore-engines'}->{$engine} ) { 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; return 0;
} }

View File

@@ -527,7 +527,7 @@ sub engine_is_allowed {
my $filter = $self->{filters}; my $filter = $self->{filters};
if ( $filter->{'ignore-engines'}->{$engine} ) { 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; return 0;
} }