fix(mssql): mode backup-age - uninitialized value (#3402)
This commit is contained in:
parent
3775f3c46c
commit
00d22e6b4a
|
@ -158,6 +158,8 @@ sub check_options {
|
||||||
sub manage_selection {
|
sub manage_selection {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
|
$options{sql}->connect();
|
||||||
|
|
||||||
my $query = q{
|
my $query = q{
|
||||||
SELECT
|
SELECT
|
||||||
a.name,
|
a.name,
|
||||||
|
@ -194,7 +196,6 @@ sub manage_selection {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
$options{sql}->connect();
|
|
||||||
$options{sql}->query(query => $query);
|
$options{sql}->query(query => $query);
|
||||||
my $result = $options{sql}->fetchall_arrayref();
|
my $result = $options{sql}->fetchall_arrayref();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue