mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-19 02:05:23 +00:00
Remove useless var in SchemaIterator::_iterate_files() and update module in tools.
This commit is contained in:
@@ -1510,7 +1510,7 @@ sub name {
|
|||||||
|
|
||||||
sub DESTROY {
|
sub DESTROY {
|
||||||
my ($self) = @_;
|
my ($self) = @_;
|
||||||
if ( $self->{dbh} ) {
|
if ( $self->{dbh} && ref($self->{dbh}) ) {
|
||||||
PTDEBUG && _d('Disconnecting dbh', $self->{dbh}, $self->{name});
|
PTDEBUG && _d('Disconnecting dbh', $self->{dbh}, $self->{name});
|
||||||
$self->{dbh}->disconnect();
|
$self->{dbh}->disconnect();
|
||||||
}
|
}
|
||||||
@@ -4704,7 +4704,6 @@ sub next {
|
|||||||
|
|
||||||
sub _iterate_files {
|
sub _iterate_files {
|
||||||
my ( $self ) = @_;
|
my ( $self ) = @_;
|
||||||
my $q = $self->{Quoter};
|
|
||||||
|
|
||||||
if ( !$self->{fh} ) {
|
if ( !$self->{fh} ) {
|
||||||
my ($fh, $file) = $self->{file_itr}->();
|
my ($fh, $file) = $self->{file_itr}->();
|
||||||
|
@@ -232,7 +232,6 @@ sub next {
|
|||||||
|
|
||||||
sub _iterate_files {
|
sub _iterate_files {
|
||||||
my ( $self ) = @_;
|
my ( $self ) = @_;
|
||||||
my $q = $self->{Quoter};
|
|
||||||
|
|
||||||
if ( !$self->{fh} ) {
|
if ( !$self->{fh} ) {
|
||||||
my ($fh, $file) = $self->{file_itr}->();
|
my ($fh, $file) = $self->{file_itr}->();
|
||||||
|
Reference in New Issue
Block a user