Enable optimize for InnoDB (bug #1415975).

This commit is contained in:
Michal Čihař
2006-02-22 15:22:52 +00:00
parent 07988a3eb1
commit cbc7e0b543
2 changed files with 3 additions and 1 deletions

View File

@@ -31,6 +31,8 @@ $Source$
* sql.php, libraries/display_tbl.lib.php, lang/*: Better message for query
export, move operation above query results into one fieldset (bug
#1431420).
* tbl_properties_operations.php: Enable optimize for InnoDB (bug
#1415975).
2006-02-22 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/footer.inc.php:

View File

@@ -433,7 +433,7 @@ if ($tbl_type == 'MYISAM' || $tbl_type == 'BERKELEYDB' || $tbl_type == 'INNODB')
</li>
<?php
}
if ($tbl_type == 'MYISAM' || $tbl_type == 'BERKELEYDB') {
if ($tbl_type == 'MYISAM' || $tbl_type == 'BERKELEYDB' || $tbl_type == 'INNODB') {
$this_url_params = array_merge($url_params,
array('sql_query' => 'OPTIMIZE TABLE ' . PMA_backquote($GLOBALS['table'])));
?>