From 7030e7d000f3aea8592d597dd7cc6fc6ef106f49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 20 Mar 2012 14:44:03 +0100 Subject: [PATCH] Better format space usage (RFE#3506084) Also this makes it consistent with how numbers are shown on database structure. --- tbl_structure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbl_structure.php b/tbl_structure.php index 5ea46370b8..15920ce696 100644 --- a/tbl_structure.php +++ b/tbl_structure.php @@ -734,7 +734,7 @@ if ($cfg['ShowStats']) { $mergetable = PMA_Table::isMerge($GLOBALS['db'], $GLOBALS['table']); // this is to display for example 261.2 MiB instead of 268k KiB - $max_digits = 5; + $max_digits = 3; $decimals = 1; list($data_size, $data_unit) = PMA_formatByteDown($showtable['Data_length'], $max_digits, $decimals); if ($mergetable == false) {