diff --git a/ChangeLog b/ChangeLog index 5ecaff5d8..3ce2e1c44 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-02-02 Marc Delisle + * db_stats.php3, db_details.php3, mult_submits.inc.php3, + tbl_properties.php3: Button to optimize many tables + 2002-02-01 Marc Delisle * tbl_properties.inc.php3, add a link to doc for column types diff --git a/db_details.php3 b/db_details.php3 index da5061771..86dfa7b4f 100755 --- a/db_details.php3 +++ b/db_details.php3 @@ -1,7 +1,6 @@ = 32300) {    +    + diff --git a/db_stats.php3 b/db_stats.php3 index c136be3b6..560818782 100644 --- a/db_stats.php3 +++ b/db_stats.php3 @@ -12,7 +12,7 @@ require('./header.inc.php3'); * Drop databases if required */ if ((!empty($submit_mult) && isset($selected_db)) - || isset($mult_btnDrop)) { + || isset($mult_btn)) { $err_url = 'db_stats.php3' . '?lang=' . $lang . '&server=' . $server; diff --git a/mult_submits.inc.php3 b/mult_submits.inc.php3 index 3848b7185..5e030d9bc 100644 --- a/mult_submits.inc.php3 +++ b/mult_submits.inc.php3 @@ -1,7 +1,6 @@ ' : ''); break; + case 'optimize_tbl': + $full_query .= (empty($full_query) ? 'OPTIMIZE TABLE ' : ', ') + . PMA_backquote(htmlspecialchars(urldecode($selected[$i]))) + . (($i == $selected_cnt - 1) ? ';
' : ''); + break; + case 'empty_tbl': $full_query .= 'DELETE FROM ' . PMA_backquote(htmlspecialchars(urldecode($selected[$i]))) @@ -94,8 +109,8 @@ if (!empty($submit_mult) } ?> - - + +