patch #2358861 [navi] Row count tooltip wrong for information_schema

This commit is contained in:
Marc Delisle
2009-02-16 10:56:11 +00:00
parent eb74324b59
commit 6170758147
3 changed files with 10 additions and 2 deletions

View File

@@ -288,6 +288,11 @@ foreach ($tables as $keyname => $each_table) {
case 'ISAM' :
case 'HEAP' :
case 'MEMORY' :
if ($db_is_information_schema) {
$each_table['Rows'] = PMA_Table::countRecords($db,
$each_table['Name'], $return = true);
}
if ($is_show_stats) {
$tblsize = doubleval($each_table['Data_length']) + doubleval($each_table['Index_length']);
$sum_size += $tblsize;