bug 725711 FULLTEXT index type

This commit is contained in:
Marc Delisle
2003-04-22 17:11:59 +00:00
parent 97f979da4d
commit bf3be70b2b
2 changed files with 8 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-04-22 Marc Delisle <lem9@users.sourceforge.net>
* tbl_indexes.php3: bug 725711: FULLTEXT index type not shown
in the drop-down box
2003-04-20 Garvin Hicking <me@supergarv.de> 2003-04-20 Garvin Hicking <me@supergarv.de>
* libraries/display_tbl.lib.php3, index.php3, left.php3, * libraries/display_tbl.lib.php3, index.php3, left.php3,
tbl_query_box.php3, queryframe.php3, querywindow.php3: tbl_query_box.php3, queryframe.php3, querywindow.php3:

View File

@@ -248,7 +248,10 @@ else if (!defined('PMA_IDX_INCLUDED')
} else { } else {
$edited_index_info = $indexes_info[$old_index]; $edited_index_info = $indexes_info[$old_index];
$edited_index_data = $indexes_data[$old_index]; $edited_index_data = $indexes_data[$old_index];
if ($edited_index_info['Comment'] == 'FULLTEXT') {
if ((PMA_MYSQL_INT_VERSION >= 32323 && PMA_MYSQL_INT_VERSION < 40002 && $edited_index_info['Comment'] == 'FULLTEXT')
|| (PMA_MYSQL_INT_VERSION >= 40002 && $edited_index_info['Index_type'] == 'FULLTEXT')) {
$index_type = 'FULLTEXT'; $index_type = 'FULLTEXT';
} else if ($index == 'PRIMARY') { } else if ($index == 'PRIMARY') {
$index_type = 'PRIMARY'; $index_type = 'PRIMARY';