removed aditional check for table row count for left frame tree

(bug #1397061 Left frame not loaded correct on MySQL error)
This commit is contained in:
Sebastian Mendel
2006-01-14 19:01:04 +00:00
parent 747846fa2b
commit 974bfdc4b6
2 changed files with 8 additions and 0 deletions

View File

@@ -13,6 +13,9 @@ $Source$
added second parameter to pass tables (if already fetched from db) added second parameter to pass tables (if already fetched from db)
* left.php: make use of new functionality in PMA_getTableList() and * left.php: make use of new functionality in PMA_getTableList() and
PMA_DBI_get_tables_full(): reduce db server traffic (MySQL >=5.0) PMA_DBI_get_tables_full(): reduce db server traffic (MySQL >=5.0)
* libraries/common.lib.php:
removed aditional check for table row count for left frame tree
(bug #1397061 Left frame not loaded correct on MySQL error)
2006-01-12 Marc Delisle <lem9@users.sourceforge.net> 2006-01-12 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html: typo, thanks to Cédric Corazza * Documentation.html: typo, thanks to Cédric Corazza

View File

@@ -1062,8 +1062,13 @@ if (!defined('PMA_MINIMUM_COMMON')) {
// check for correct row count // check for correct row count
if (null === $table['Rows']) { if (null === $table['Rows']) {
// do not check exact row count here,
// if row count is invalid possible the table is defect
// and this would break left frame
/*
$table['Rows'] = PMA_countRecords($db, $table['Name'], $table['Rows'] = PMA_countRecords($db, $table['Name'],
$return = true, $force_exact = true); $return = true, $force_exact = true);
*/
} }
// in $group we save the reference to the place in $table_groups // in $group we save the reference to the place in $table_groups