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

@@ -1,4 +1,4 @@
---------------------- ----------------------
phpMyAdmin - Changelog phpMyAdmin - Changelog
---------------------- ----------------------
@@ -15,6 +15,8 @@ $Source$
themes/darkblue_orange/css/theme_left.css.php themes/darkblue_orange/css/theme_left.css.php
themes/original/css/theme_left.css.php: themes/original/css/theme_left.css.php:
XHTML 1.0 trans. compliance and more semantic XHTML output XHTML 1.0 trans. compliance and more semantic XHTML output
* tbl_printview.php, tbl_properties_structure.php:
no table statistics for information_schema
2005-10-09 Marc Delisle <lem9@users.sourceforge.net> 2005-10-09 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties_links.php: invalid js confirmation and operation feedback * tbl_properties_links.php: invalid js confirmation and operation feedback

View File

@@ -260,6 +260,11 @@ foreach ($the_tables AS $key => $table) {
<?php <?php
if ( ! $tbl_is_view
&& ( $db != 'information_schema'
|| PMA_MYSQL_INT_VERSION < 50002 ) ) {
/** /**
* Displays indexes * Displays indexes
*/ */
@@ -519,7 +524,7 @@ foreach ($the_tables AS $key => $table) {
<?php <?php
} // end if ($nonisam == FALSE) } // end if ($nonisam == FALSE)
} // end if ($cfg['ShowStats']) } // end if ($cfg['ShowStats'])
}
echo "\n"; echo "\n";
if ($multi_tables) { if ($multi_tables) {
unset($ret_keys); unset($ret_keys);

View File

@@ -580,8 +580,11 @@ if ($fields_cnt > 20) {
} // end if ($fields_cnt > 20) } // end if ($fields_cnt > 20)
echo "\n\n"; echo "\n\n";
// show table statistics only if
if (!$tbl_is_view) { // 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 * Displays indexes
*/ */