diff --git a/ChangeLog b/ChangeLog index 2c88e1f32..a875cd2c7 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2006-01-31 Marc Delisle + * db_details_structure.php: bug #1412058, damaged table reporting + 2006-01-30 Marc Delisle * libraries/common.lib.php: bug #1418145, missing global, thanks to Bananeweizen diff --git a/db_details_structure.php b/db_details_structure.php index 79684fe7f..d0018187c 100644 --- a/db_details_structure.php +++ b/db_details_structure.php @@ -220,6 +220,7 @@ foreach ( $tables as $keyname => $each_table ) { // loic1: Patch from Joshua Nye to get valid // statistics whatever is the table type + if ( isset( $each_table['TABLE_ROWS'] ) ) { // MyISAM, ISAM or Heap table: Row count, data size and index size // is accurate. @@ -281,7 +282,7 @@ foreach ( $tables as $keyname => $each_table ) { $overhead = '-'; } } // end if - } + } // end if ( isset( $each_table['TABLE_ROWS'] ) if ( $num_columns > 0 && $num_tables > $num_columns && ( ($row_count % $num_columns) == 0 )) { @@ -320,8 +321,11 @@ foreach ( $tables as $keyname => $each_table ) { echo urlencode($drop_message); ?>" onclick="return confirmLink(this, '')"> - - + = $cfg['MaxExactCount'] ? '1' : ''); ?> 1)) { ?>