diff --git a/ChangeLog b/ChangeLog index 0ba6cdcf0b..c62aa31460 100644 --- a/ChangeLog +++ b/ChangeLog @@ -42,6 +42,7 @@ phpMyAdmin - ChangeLog + rfe #1544 MySQL 5.7.5 compatibility + rfe #1529 Avoid session timeout when user is active - bug #4528 Can't import dump via SQL field ++ rfe #1251 Show "Overhead" with same precision for all tables 4.2.10.0 (not yet released) - bug #4361 Can't change font size (when config.inc.php not present) diff --git a/libraries/structure.lib.php b/libraries/structure.lib.php index 67c9c0d745..9ccb681988 100644 --- a/libraries/structure.lib.php +++ b/libraries/structure.lib.php @@ -1189,9 +1189,11 @@ function PMA_getValuesForAriaTable($db_is_system_schema, $current_table, $tblsize, 3, ($tblsize > 0) ? 1 : 0 ); if (isset($current_table['Data_free']) && $current_table['Data_free'] > 0) { + // here, the value 4 as the second parameter + // would transform 6.1MiB into 6,224.6KiB list($formatted_overhead, $overhead_unit) = PMA_Util::formatByteDown( - $current_table['Data_free'], 3, + $current_table['Data_free'], 4, (($current_table['Data_free'] > 0) ? 1 : 0) ); $overhead_size += $current_table['Data_free'];