no table statistics for information_schema

This commit is contained in:
Sebastian Mendel
2005-10-11 13:57:47 +00:00
parent 694f7ef519
commit 8b6facdf39
3 changed files with 258 additions and 248 deletions

View File

@@ -580,8 +580,11 @@ if ($fields_cnt > 20) {
} // end if ($fields_cnt > 20)
echo "\n\n";
if (!$tbl_is_view) {
// show table statistics only if
// this is not a view and not the information_schema (MySQL >= 5.00.02)
if ( ! $tbl_is_view
&& ( $db != 'information_schema'
|| PMA_MYSQL_INT_VERSION < 50002 ) ) {
/**
* Displays indexes
*/