From c2aae85cb506a1c6d56fe4cc0eaba5fc8af9206f Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 30 Apr 2002 19:18:21 +0000 Subject: [PATCH] for table options --- tbl_properties_table_info.php3 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tbl_properties_table_info.php3 b/tbl_properties_table_info.php3 index 1f1536fde..9f7d48baf 100755 --- a/tbl_properties_table_info.php3 +++ b/tbl_properties_table_info.php3 @@ -13,6 +13,19 @@ if (PMA_MYSQL_INT_VERSION >= 32303) { $tbl_type = strtoupper($showtable['Type']); $num_rows = (isset($showtable['Rows']) ? $showtable['Rows'] : 0); $show_comment = (isset($showtable['Comment']) ? $showtable['Comment'] : ''); + + ereg('pack_keys=([0-1])', $showtable['Create_options'], $tmp_ar); + $pack_keys = (isset($tmp_ar[1]) ? $tmp_ar[1]: 0); + unset($tmp_ar); + + ereg('checksum=([0-1])', $showtable['Create_options'], $tmp_ar); + $checksum = (isset($tmp_ar[1]) ? $tmp_ar[1]: 0); + unset($tmp_ar); + + ereg('delay_key_write=([0-1])', $showtable['Create_options'], $tmp_ar); + $delay_key_write = (isset($tmp_ar[1]) ? $tmp_ar[1]: 0); + unset($tmp_ar); + } else { $local_query = 'SELECT COUNT(*) AS count FROM ' . PMA_backquote($table); $result = mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0);