From 4733f97af5af17aeb96824f4e9ce49ec9f98f982 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 11 Apr 2003 17:53:34 +0000 Subject: [PATCH] undefined --- ChangeLog | 1 + db_details_structure.php3 | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 66abea401..21670e8c9 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ $Source$ 2003-04-11 Marc Delisle * libraries/common.lib.php3, config_import.lib.php3: MaxExactCount backwards compatibility + * db_details_structure.php3: undefined $row_count for InnoDB tables 2003-04-11 Michal Cihar * db_details_structure.php3: Get row count by SHOW TABLE STATUS, and by diff --git a/db_details_structure.php3 b/db_details_structure.php3 index b81203b67..f763a2b4c 100644 --- a/db_details_structure.php3 +++ b/db_details_structure.php3 @@ -249,6 +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; $sum_entries += $sts_data['Rows']; } $display_rows = number_format($row_count, 0, $number_decimal_separator, $number_thousands_separator);