for table options

This commit is contained in:
Marc Delisle
2002-04-30 19:18:21 +00:00
parent e9092685eb
commit c2aae85cb5

View File

@@ -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);