diff options
author | Deven Bansod <devenbansod.bits@gmail.com> | 2015-06-01 11:04:15 +0300 |
---|---|---|
committer | Deven Bansod <devenbansod.bits@gmail.com> | 2015-06-01 11:04:15 +0300 |
commit | 7c37657cc5e5a482e02856af2def93a4f7604fb0 (patch) | |
tree | 8b5f0a64611a1e644cd49565095a7ea0d6034a15 /db_structure.php | |
parent | 25543c51570aa4e6f6664fcc57432ab1944aed80 (diff) |
RFE#1676 : Actually a Bug
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
Diffstat (limited to 'db_structure.php')
-rw-r--r-- | db_structure.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/db_structure.php b/db_structure.php index cdc787ee19..4c2a9ee2aa 100644 --- a/db_structure.php +++ b/db_structure.php @@ -146,6 +146,7 @@ $overhead_size = (double) 0; $hidden_fields = array(); $odd_row = true; +$overall_approx_rows = false; // Instance of PMA_RecentFavoriteTable class. $fav_instance = PMA_RecentFavoriteTable::getInstance('favorite'); foreach ($tables as $keyname => $current_table) { @@ -301,6 +302,7 @@ foreach ($tables as $keyname => $current_table) { (isset ($check_time) ? $check_time : ''), $is_show_stats, $ignored, $do, $colspan_for_structure ); + $overall_approx_rows = $overall_approx_rows || $approx_rows; $response->addHTML($html_output); } // end foreach @@ -312,7 +314,7 @@ $response->addHTML( $num_tables, $GLOBALS['replication_info']['slave']['status'], $db_is_system_schema, $sum_entries, $db_collation, $is_show_stats, $sum_size, $overhead_size, $create_time_all, $update_time_all, $check_time_all, - isset($approx_rows) ? $approx_rows : false + $overall_approx_rows ) ); $response->addHTML('</table>'); |