diff --git a/ChangeLog b/ChangeLog index e1f2162b86..c30471f74e 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ $Source$ 2002-04-30 Marc Delisle * tbl_qbe.php3, try to make it work again + * tbl_properties.php3, tbl_properties_table_info.php3, + tbl_properties_options.php3: support for 3 MyISAM table options 2002-04-30 Alexander M. Turek * lang/german.inc.php3: Clarification ($strFlushTable). diff --git a/tbl_properties.php3 b/tbl_properties.php3 index 3d56501349..d9f79fa6d5 100755 --- a/tbl_properties.php3 +++ b/tbl_properties.php3 @@ -55,6 +55,18 @@ if (isset($submitorderby) && !empty($order_field)) { $local_query = 'ALTER TABLE ' . PMA_backquote($table) . 'ORDER BY ' . $order_field; $result = mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url); } +/** + * Update table options + */ +if (isset($submitoptions)) { + $local_query = 'ALTER TABLE ' . PMA_backquote($table) + . (isset($pack_keys) ? ' pack_keys=1': ' pack_keys=0') + . (isset($checksum) ? ' checksum=1': ' checksum=0') + . (isset($delay_key_write) ? ' delay_key_write=1': ' delay_key_write=0'); + $result = mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url); +} + + // 1. Get table information require('./tbl_properties_table_info.php3'); diff --git a/tbl_properties_options.php3 b/tbl_properties_options.php3 index 1d3390e918..4b508293c2 100755 --- a/tbl_properties_options.php3 +++ b/tbl_properties_options.php3 @@ -5,9 +5,9 @@ require('./tbl_properties_common.php3'); require('./tbl_properties_table_info.php3'); +echo "