Bug #72532 DESCRIBE with FULLTEXT does Key=MUL incorrectly
Submitted: 4 May 2014 19:26 Modified: 5 May 2014 8:35
Reporter: Rick James Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Optimizer Severity:S3 (Non-critical)
Version:5.6.12, 5.6.19 OS:Any
Assigned to: CPU Architecture:Any
Tags: DESCRIBE, fulltext, key, mul

[4 May 2014 19:26] Rick James
Description:
See "how to repeat".  The fields in the Key column of DESCRIBE seem to be aligned incorrectly, based on the SHOW CREATE TABLE output.

How to repeat:
mysql> SHOW CREATE TABLE desc_bug \G
*************************** 1. row ***************************
       Table: desc_bug
Create Table: CREATE TABLE `desc_bug` (
  `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `just_vers` varchar(15) NOT NULL,
  `full_vers` varchar(44) NOT NULL,
  `dy` date DEFAULT NULL,
  `ft` text NOT NULL,
  `html` blob NOT NULL,
  PRIMARY KEY (`id`),
  KEY `dy` (`dy`,`just_vers`),
  FULLTEXT KEY `ft` (`ft`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
1 row in set (0.00 sec)

mysql> DESCRIBE desc_bug;
+-----------+----------------------+------+-----+---------+----------------+
| Field     | Type                 | Null | Key | Default | Extra          |
+-----------+----------------------+------+-----+---------+----------------+
| id        | smallint(5) unsigned | NO   | PRI | NULL    | auto_increment |
| just_vers | varchar(15)          | NO   |     | NULL    |                |
| full_vers | varchar(44)          | NO   |     | NULL    |                |
| dy        | date                 | YES  | MUL | NULL    |                |
| ft        | text                 | NO   | MUL | NULL    |                |
| html      | blob                 | NO   |     | NULL    |                |
+-----------+----------------------+------+-----+---------+----------------+
6 rows in set (0.00 sec)

Suggested fix:
I wonder if adding FULLTEXT to InnoDB created this bug.
[5 May 2014 8:35] MySQL Verification Team
Hello Rick,

Thank you for the bug report and test case.
Verified as described on 5.6.18/19.

Thanks,
Umesh