correct oracle tablespace

This commit is contained in:
garnier-quentin 2019-09-26 15:11:29 +02:00
parent 82d412bf68
commit 7409bff00e
1 changed files with 1 additions and 6 deletions

View File

@ -385,12 +385,7 @@ sub manage_selection {
}
my ($percent_used, $percent_free, $used, $free, $size);
if ($self->{sql}->is_version_minimum(version => '11')) {
$percent_used = $bytes / $bytes_max * 100;
$size = $bytes_max;
$free = $bytes_max - $bytes;
$used = $bytes;
} elsif ((!defined($bytes_max)) || ($bytes_max == 0)) {
if ((!defined($bytes_max)) || ($bytes_max == 0)) {
$percent_used = ($bytes - $bytes_free) / $bytes * 100;
$size = $bytes;
$free = $bytes_free;