diff --git a/tbl_indexes.php3 b/tbl_indexes.php3 index 576f96f09..7dd3190f4 100644 --- a/tbl_indexes.php3 +++ b/tbl_indexes.php3 @@ -9,15 +9,18 @@ require('./libraries/common.lib.php3'); /** - * Defines the index types + * Defines the index types ("FULLTEXT" is available since MySQL 3.23.23) */ -$index_types = array( - 'INDEX', +$index_types_cnt = 3; +$index_types = array( 'PRIMARY', - 'UNIQUE', - 'FULLTEXT' + 'INDEX', + 'UNIQUE' ); - +if (PMA_MYSQL_INT_VERSION >= 32323) { + $index_types[] = 'FULLTEXT'; + $index_types_cnt++; +} /** @@ -307,15 +310,22 @@ else if (!defined('PMA_IDX_INCLUDED')