From 95a47507194be5ee7f7d2d5df8c98d6175031364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Sat, 10 May 2003 16:14:34 +0000 Subject: [PATCH] Don't display 0 for InnoDB tables as records count - fixes #735441. --- ChangeLog | 4 ++++ db_details_structure.php3 | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 29b16e525..dc0f64b95 100755 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,10 @@ $Source$ * lang/latvian: Update thanks to Sandis Jerics (saaa2002). * lang/chinese: Update thanks to Wang (fundawang). * lang/sync_lang.sh: Fix for POSIX sh. + * db_details_structure.php3: Don't display 0 for InnoDB tables as records + count - fixes #735441. + * libraries/display_tbl.lib.php3: Fix not displaying content of TEXT + fields (was treated like BLOB). 2003-05-09 Marc Delisle * libraries/display_tbl.lib.php3: bug 731367: hexifying all diff --git a/db_details_structure.php3 b/db_details_structure.php3 index be6bb9b77..2dd407a95 100644 --- a/db_details_structure.php3 +++ b/db_details_structure.php3 @@ -249,7 +249,7 @@ else if (PMA_MYSQL_INT_VERSION >= 32303) { $row_count = PMA_mysql_result($table_info_result, 0, 'count'); $sum_entries += $row_count; } else { - $row_count = 0; + $row_count = $sts_data['Rows']; $sum_entries += $sts_data['Rows']; } $display_rows = number_format($row_count, 0, $number_decimal_separator, $number_thousands_separator);