bug #1317655 information_schema browsing

This commit is contained in:
Sebastian Mendel
2005-10-11 14:00:41 +00:00
parent 8b6facdf39
commit c6198d6564
2 changed files with 8 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
---------------------- ----------------------
phpMyAdmin - Changelog phpMyAdmin - Changelog
---------------------- ----------------------
@@ -17,6 +17,8 @@ $Source$
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: * tbl_printview.php, tbl_properties_structure.php:
no table statistics for information_schema no table statistics for information_schema
* tbl_properties_table_info.php:
bug #1317655 information_schema browsing
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

@@ -54,6 +54,11 @@ if ($table_info_result && PMA_DBI_num_rows($table_info_result) > 0) {
} }
} }
$tbl_collation = empty($showtable['Collation']) ? '' : $showtable['Collation']; $tbl_collation = empty($showtable['Collation']) ? '' : $showtable['Collation'];
if ( NULL === $showtable['Rows'] ) {
$showtable['Rows'] = PMA_countRecords( $GLOBALS['db'],
$showtable['Name'], $return = true, $force_exact = true );
}
$table_info_num_rows = (isset($showtable['Rows']) ? $showtable['Rows'] : 0); $table_info_num_rows = (isset($showtable['Rows']) ? $showtable['Rows'] : 0);
$auto_increment = (isset($showtable['Auto_increment']) ? $showtable['Auto_increment'] : ''); $auto_increment = (isset($showtable['Auto_increment']) ? $showtable['Auto_increment'] : '');