InnoDB and total records

This commit is contained in:
Marc Delisle
2002-10-09 17:29:23 +00:00
parent 54f5b6b065
commit 2caebfab9e
2 changed files with 4 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ $Source$
* libraries/get_foreign.lib.php3, there are no functions * libraries/get_foreign.lib.php3, there are no functions
in this file that need to be protected from being defined in this file that need to be protected from being defined
twice. The added code introduced a bug twice. The added code introduced a bug
* db_details_structure.php3: total of records for InnoDB tables
2002-10-08 Marc Delisle <lem9@users.sourceforge.net> 2002-10-08 Marc Delisle <lem9@users.sourceforge.net>
* ### 2.3.2 released ### * ### 2.3.2 released ###

View File

@@ -178,7 +178,9 @@ else if (PMA_MYSQL_INT_VERSION >= 32303) {
. PMA_backquote($table); . PMA_backquote($table);
$table_info_result = PMA_mysql_query($local_query) $table_info_result = PMA_mysql_query($local_query)
or PMA_mysqlDie('', $local_query, '', $err_url_0); 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. // Merge or BerkleyDB table: Only row count is accurate.