----- Original Message -----
Sent: Wednesday, February 20, 2002 4:40
PM
Subject: [PATCH] Fix incorrect row count
in db_details.php
I noticed that my row count displayed was incorrect for
InnoDB tables as opposed to a SELECT COUNT(*).
--Josh
---
../phpMyAdmin/db_details.php Tue Feb
19 18:35:40 2002
+++ db_details.php Wed Feb
20 16:37:13 2002
@@ -278,8 +278,10
@@
echo "\n" . '
';
if ($mergetable == TRUE)
{
echo '<i>' . number_format($sts_data['Rows'], 0,
$number_decimal_separator, $number_thousands_separator) . '</i>'
.
"\n";
-
} else
{
+ }
elseif($nonisam == FALSE)
{
echo number_format($sts_data['Rows'], 0, $number_decimal_separator,
$number_thousands_separator) .
"\n";
+ }
else
{
+
echo
"-";
}
?>
</td>