diff --git a/ChangeLog b/ChangeLog index e8266adcd..4ab5d5e3f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,7 @@ $Source$ 2002-06-26 Marc Delisle * Documentation.html: update the persons/towns/countries example + * sql.php3, tbl_properties_table_info.php3: sub-page links on browse 2002-06-26 Olivier L. Müller * tbl_change.php3: display the submit button every 15 lines: diff --git a/sql.php3 b/sql.php3 index d299c530e..f157673d1 100755 --- a/sql.php3 +++ b/sql.php3 @@ -1,14 +1,12 @@ = 32303) { $local_query = 'SHOW TABLE STATUS LIKE \'' . PMA_sqlAddslashes($table, TRUE) . '\''; - $result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0); - $showtable = PMA_mysql_fetch_array($result); + $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); $show_comment = (isset($showtable['Comment']) ? $showtable['Comment'] : ''); @@ -27,12 +27,12 @@ if (PMA_MYSQL_INT_VERSION >= 32303) { unset($tmp); } else { $local_query = 'SELECT COUNT(*) AS count FROM ' . PMA_backquote($table); - $result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0); + $table_info_result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0); $showtable = array(); - $num_rows = PMA_mysql_result($result, 0, 'count'); + $num_rows = PMA_mysql_result($table_info_result, 0, 'count'); $show_comment = ''; } -mysql_free_result($result); +mysql_free_result($table_info_result); /**