Commit fba578b2 authored by Javier Herrero's avatar Javier Herrero
Browse files

Add a missing $sth->finish

parent ac52bc8e
......@@ -103,6 +103,7 @@ sub list_value_by_key {
while( my $arrRef = $sth->fetchrow_arrayref() ) {
push( @result, $arrRef->[0] );
}
$sth->finish();
$self->{'cache'}->{$key} = \@result;
return \@result;
......
......@@ -1493,6 +1493,7 @@ sub _build_exception_cache {
$hash{$result[0]} ||= [];
push(@{$hash{$result[0]}}, \@result);
}
$sth->finish();
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment