From c2d693280fbdf4fb1058604deb020347cca962ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sat, 4 Aug 2001 10:58:32 +0000 Subject: [PATCH] fixed some coding inconcistencies (tabs, ...) --- tbl_properties.php3 | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/tbl_properties.php3 b/tbl_properties.php3 index 8af33d60b..5185dac10 100755 --- a/tbl_properties.php3 +++ b/tbl_properties.php3 @@ -266,21 +266,20 @@ if ($index_count > 0) { ?> = 3.23 && intval(MYSQL_MINOR_VERSION) > 3 && $nonisam==false && isset($showtable)) { +$nonisam = FALSE; +if (!eregi('ISAM|HEAP', $showtable['Type'])) { + $nonisam = TRUE; +} +if (MYSQL_MAJOR_VERSION >= 3.23 && intval(MYSQL_MINOR_VERSION) > 3 && $nonisam == FALSE && isset($showtable)) { // Gets some sizes - $mergetable=false; - if (isset($showtable['Type']) && $showtable['Type']=="MRG_MyISAM") { - $mergetable=true; + $mergetable = FALSE; + if (isset($showtable['Type']) && $showtable['Type'] == 'MRG_MyISAM') { + $mergetable = TRUE; } - - list($data_size, $data_unit) = format_byte_down($showtable['Data_length']); - - if ($mergetable==false) { + list($data_size, $data_unit) = format_byte_down($showtable['Data_length']); + if ($mergetable == FALSE) { list($index_size, $index_unit) = format_byte_down($showtable['Index_length']); } - if (isset($showtable['Data_free']) && $showtable['Data_free'] > 0) { list($free_size, $free_unit) = format_byte_down($showtable['Data_free']); }