From 974bfdc4b6c25a932f8a7f9da7cbfa34c76a835a Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Sat, 14 Jan 2006 19:01:04 +0000 Subject: [PATCH] removed aditional check for table row count for left frame tree (bug #1397061 Left frame not loaded correct on MySQL error) --- ChangeLog | 3 +++ libraries/common.lib.php | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9c84d0f14..58c7e8b07 100755 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,9 @@ $Source$ added second parameter to pass tables (if already fetched from db) * left.php: make use of new functionality in PMA_getTableList() and 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 * Documentation.html: typo, thanks to Cédric Corazza diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 0a3503a6c..e5ea97010 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1062,8 +1062,13 @@ if (!defined('PMA_MINIMUM_COMMON')) { // check for correct row count 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'], $return = true, $force_exact = true); + */ } // in $group we save the reference to the place in $table_groups