+ fix oracle mode
This commit is contained in:
parent
a99a1d1690
commit
02c3559450
|
@ -112,9 +112,6 @@ sub run {
|
||||||
my $label = $_;
|
my $label = $_;
|
||||||
$label =~ s/ /-/g;
|
$label =~ s/ /-/g;
|
||||||
foreach my $row (@$result) {
|
foreach my $row (@$result) {
|
||||||
|
|
||||||
next if (defined($already_checked->{$$row[0]}));
|
|
||||||
|
|
||||||
if (defined($self->{option_results}->{incremental_level})) {
|
if (defined($self->{option_results}->{incremental_level})) {
|
||||||
# db incr with incremental level 0 = DB FULL
|
# db incr with incremental level 0 = DB FULL
|
||||||
if (/db full/ && $$row[0] =~ /db incr/i && defined($$row[2]) && $$row[2] == 0) { # it's a full. we get
|
if (/db full/ && $$row[0] =~ /db incr/i && defined($$row[2]) && $$row[2] == 0) { # it's a full. we get
|
||||||
|
@ -124,11 +121,14 @@ sub run {
|
||||||
next if ($$row[0] !~ /$_/i);
|
next if ($$row[0] !~ /$_/i);
|
||||||
}
|
}
|
||||||
|
|
||||||
$already_checked->{$$row[0]} = 1;
|
|
||||||
} else {
|
} else {
|
||||||
next if ($$row[0] !~ /$_/i);
|
next if ($$row[0] !~ /$_/i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
next if (defined($already_checked->{$$row[0]}));
|
||||||
|
|
||||||
|
$already_checked->{$$row[0]} = 1;
|
||||||
|
|
||||||
$count_backups++;
|
$count_backups++;
|
||||||
$executed = 1;
|
$executed = 1;
|
||||||
my ($type, $last_time) = @$row;
|
my ($type, $last_time) = @$row;
|
||||||
|
|
Loading…
Reference in New Issue