diff --git a/ChangeLog b/ChangeLog index 2266c7cb6..3f0140828 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ $Source$ * lang/japanese* updates, thanks to Yukihiro Kawada * Documentation.html: explain the oslash symbol in the statistics * left.php3: the - as first choice is not clear + * tbl_properties_table_info.php3, tbl_properties_links.php3: bug + 576776: ShowAll never displayed 2002-07-01 Alexander M. Turek * sql.php3: Completed fix against bug #575867 (Error with limit or load in diff --git a/tbl_properties_links.php3 b/tbl_properties_links.php3 index 14f5947dc..a329aaea5 100755 --- a/tbl_properties_links.php3 +++ b/tbl_properties_links.php3 @@ -7,7 +7,7 @@ $db_details_links_count_tabs = 0; /** * Prepares links */ -if ($num_rows > 0) { +if ($table_info_num_rows > 0) { $lnk2 = 'sql.php3'; $arg2 = $url_query . '&sql_query=' . urlencode('SELECT * FROM ' . PMA_backquote($table)) diff --git a/tbl_properties_table_info.php3 b/tbl_properties_table_info.php3 index aca462a4a..a2c539671 100755 --- a/tbl_properties_table_info.php3 +++ b/tbl_properties_table_info.php3 @@ -1,6 +1,8 @@ = 32303) { $table_info_result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0); $showtable = PMA_mysql_fetch_array($table_info_result); $tbl_type = strtoupper($showtable['Type']); - $num_rows = (isset($showtable['Rows']) ? $showtable['Rows'] : 0); + $table_info_num_rows = (isset($showtable['Rows']) ? $showtable['Rows'] : 0); $show_comment = (isset($showtable['Comment']) ? $showtable['Comment'] : ''); // better logic, thanks to Loic: @@ -29,7 +31,7 @@ if (PMA_MYSQL_INT_VERSION >= 32303) { $local_query = 'SELECT COUNT(*) AS count FROM ' . PMA_backquote($table); $table_info_result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0); $showtable = array(); - $num_rows = PMA_mysql_result($table_info_result, 0, 'count'); + $table_info_num_rows = PMA_mysql_result($table_info_result, 0, 'count'); $show_comment = ''; } mysql_free_result($table_info_result);