bug #1828913 [structure] no FULLTEXT index on CHAR column

This commit is contained in:
Marc Delisle
2007-11-09 17:26:07 +00:00
parent a6dac0a992
commit 5c930fc60b
2 changed files with 3 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #1777249 [display] Do not underline links in left panel (in default - bug #1777249 [display] Do not underline links in left panel (in default
- bug #1826022 [privileges] unable to add user (MySQL 3.23) since PMA 2.11.2 - bug #1826022 [privileges] unable to add user (MySQL 3.23) since PMA 2.11.2
- bug #1823045 [import] Error importing file with lowercase "delimiter" - bug #1823045 [import] Error importing file with lowercase "delimiter"
- bug #1828913 [structure] Can't set FULLTEXT index on CHAR column
2.11.2.1 (not yet released) 2.11.2.1 (not yet released)
- fixed possible SQL injection using database name - fixed possible SQL injection using database name

View File

@@ -450,7 +450,8 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
</td> </td>
<?php <?php
if ((!empty($tbl_type) && $tbl_type == 'MYISAM') if ((!empty($tbl_type) && $tbl_type == 'MYISAM')
&& (strpos(' ' . $type, 'text') || strpos(' ' . $type, 'varchar'))) { // FULLTEXT is possible on TEXT, CHAR and VARCHAR
&& (strpos(' ' . $type, 'text') || strpos(' ' . $type, 'char'))) {
echo "\n"; echo "\n";
?> ?>
<td align="center" nowrap="nowrap"> <td align="center" nowrap="nowrap">