+ fix oracle mode

This commit is contained in:
garnier-quentin 2016-07-08 11:52:10 +02:00
parent a99a1d1690
commit 02c3559450
1 changed files with 5 additions and 5 deletions

View File

@ -112,9 +112,6 @@ sub run {
my $label = $_;
$label =~ s/ /-/g;
foreach my $row (@$result) {
next if (defined($already_checked->{$$row[0]}));
if (defined($self->{option_results}->{incremental_level})) {
# 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
@ -123,11 +120,14 @@ sub run {
next if (/db incr/ && $$row[0] =~ /db incr/i && defined($$row[2]) && $$row[2] == 0); # it's a full. we skip.
next if ($$row[0] !~ /$_/i);
}
$already_checked->{$$row[0]} = 1;
} else {
next if ($$row[0] !~ /$_/i);
}
next if (defined($already_checked->{$$row[0]}));
$already_checked->{$$row[0]} = 1;
$count_backups++;
$executed = 1;