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 ace0569f94
commit 86b1747823
2 changed files with 3 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
themes)
- 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 #1828913 [structure] Can't set FULLTEXT index on CHAR column
2.11.2.1 (not yet released)
- fixed possible SQL injection using database name

View File

@@ -399,7 +399,8 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
</td>
<?php
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";
?>
<td align="center" nowrap="nowrap">