From 2caebfab9e630d28142c7a04b12a706e81e6a73a Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 9 Oct 2002 17:29:23 +0000 Subject: [PATCH] InnoDB and total records --- ChangeLog | 1 + db_details_structure.php3 | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fed05ac27f..a6727ecd82 100755 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,7 @@ $Source$ * libraries/get_foreign.lib.php3, there are no functions in this file that need to be protected from being defined twice. The added code introduced a bug + * db_details_structure.php3: total of records for InnoDB tables 2002-10-08 Marc Delisle * ### 2.3.2 released ### diff --git a/db_details_structure.php3 b/db_details_structure.php3 index 152fb1c75d..c3ae318104 100644 --- a/db_details_structure.php3 +++ b/db_details_structure.php3 @@ -178,7 +178,9 @@ else if (PMA_MYSQL_INT_VERSION >= 32303) { . PMA_backquote($table); $table_info_result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0); - $display_rows = number_format(PMA_mysql_result($table_info_result, 0, 'count'), 0, $number_decimal_separator, $number_thousands_separator); + $row_count = PMA_mysql_result($table_info_result, 0, 'count'); + $sum_entries += $row_count; + $display_rows = number_format($row_count, 0, $number_decimal_separator, $number_thousands_separator); } // Merge or BerkleyDB table: Only row count is accurate. -- 2.11.4.GIT