From 3a0b3656a195f247d25078417f04264660a8dbf5 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 26 Sep 2019 15:11:29 +0200 Subject: [PATCH] correct oracle tablespace --- database/oracle/mode/tablespaceusage.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/database/oracle/mode/tablespaceusage.pm b/database/oracle/mode/tablespaceusage.pm index 7a1068d6d..aa6352ad4 100644 --- a/database/oracle/mode/tablespaceusage.pm +++ b/database/oracle/mode/tablespaceusage.pm @@ -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;