correct oracle tablespace
This commit is contained in:
parent
824853c224
commit
3a0b3656a1
|
@ -385,12 +385,7 @@ sub manage_selection {
|
||||||
}
|
}
|
||||||
|
|
||||||
my ($percent_used, $percent_free, $used, $free, $size);
|
my ($percent_used, $percent_free, $used, $free, $size);
|
||||||
if ($self->{sql}->is_version_minimum(version => '11')) {
|
if ((!defined($bytes_max)) || ($bytes_max == 0)) {
|
||||||
$percent_used = $bytes / $bytes_max * 100;
|
|
||||||
$size = $bytes_max;
|
|
||||||
$free = $bytes_max - $bytes;
|
|
||||||
$used = $bytes;
|
|
||||||
} elsif ((!defined($bytes_max)) || ($bytes_max == 0)) {
|
|
||||||
$percent_used = ($bytes - $bytes_free) / $bytes * 100;
|
$percent_used = ($bytes - $bytes_free) / $bytes * 100;
|
||||||
$size = $bytes;
|
$size = $bytes;
|
||||||
$free = $bytes_free;
|
$free = $bytes_free;
|
||||||
|
|
Loading…
Reference in New Issue