bug #638321
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2002-11-16 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* tbl_indexes.php3: Fixed bug #638321 (FULLTEXT is not detected correctly
|
||||
with MySQL >= 4.0.2-alpha).
|
||||
|
||||
2002-11-15 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* scripts/create_tables.sql: Added a 'USE' command after 'CREATE DATABASE'.
|
||||
|
||||
|
@@ -103,6 +103,9 @@ for ($i = 0; $i < $idx_cnt; $i++) {
|
||||
$indexes_info[$row['Key_name']]['Comment'] = (isset($row['Comment']))
|
||||
? $row['Comment']
|
||||
: '';
|
||||
$indexes_info[$row['Key_name']]['Index_type'] = (isset($row['Index_type']))
|
||||
? $row['Index_type']
|
||||
: '';
|
||||
|
||||
$indexes_data[$row['Key_name']][$row['Seq_in_index']]['Column_name'] = $row['Column_name'];
|
||||
if (isset($row['Sub_part'])) {
|
||||
@@ -451,7 +454,8 @@ else if (!defined('PMA_IDX_INCLUDED')
|
||||
. ' ' . htmlspecialchars($index_name) . "\n"
|
||||
. ' </td>' . "\n";
|
||||
|
||||
if ($indexes_info[$index_name]['Comment'] == 'FULLTEXT') {
|
||||
if ((PMA_MYSQL_INT_VERSION >= 32323 && PMA_MYSQL_INT_VERSION < 40002 && $indexes_info[$index_name]['Comment'] == 'FULLTEXT')
|
||||
|| (PMA_MYSQL_INT_VERSION >= 40002 && $indexes_info[$index_name]['Index_type'] == 'FULLTEXT')) {
|
||||
$index_type = 'FULLTEXT';
|
||||
} else if ($index_name == 'PRIMARY') {
|
||||
$index_type = 'PRIMARY';
|
||||
|
Reference in New Issue
Block a user