fix bug #621295 (Incorrect URL)

This commit is contained in:
Loïc Chapeaux
2002-10-11 12:27:47 +00:00
parent 03cd0bdc14
commit 5a10d1b73f
3 changed files with 10 additions and 6 deletions

View File

@@ -173,14 +173,14 @@ else if (PMA_MYSQL_INT_VERSION >= 32303) {
}
//$display_rows = ' - ';
// get row count with another method
$local_query = 'SELECT COUNT(*) AS count FROM '
. PMA_backquote($db) . '.'
. PMA_backquote($table);
$table_info_result = PMA_mysql_query($local_query)
$local_query = 'SELECT COUNT(*) AS count FROM '
. PMA_backquote($db) . '.'
. PMA_backquote($table);
$table_info_result = PMA_mysql_query($local_query)
or PMA_mysqlDie('', $local_query, '', $err_url_0);
$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);
$display_rows = number_format($row_count, 0, $number_decimal_separator, $number_thousands_separator);
}
// Merge or BerkleyDB table: Only row count is accurate.