bug #869006 Ignore number of records for MRG_MyISAM

This commit is contained in:
Marc Delisle
2010-01-03 16:27:46 +00:00
parent 294d699e84
commit 512975e91c
2 changed files with 7 additions and 3 deletions

View File

@@ -226,7 +226,7 @@ foreach ($tables as $keyname => $each_table) {
}
//$display_rows = ' - ';
break;
case 'MRG_MyISAM' :
case 'MRG_MYISAM' :
case 'BerkeleyDB' :
// Merge or BerkleyDB table: Only row count is accurate.
if ($is_show_stats) {
@@ -254,7 +254,10 @@ foreach ($tables as $keyname => $each_table) {
$unit = '';
}
} // end switch
$sum_entries += $each_table['TABLE_ROWS'];
if ('MRG_MYISAM' != $each_table['ENGINE']) {
$sum_entries += $each_table['TABLE_ROWS'];
}
if (isset($each_table['Collation'])) {
$collation = '<dfn title="'