Heidisql: Indexes with comments are ignored

Created on 12 Feb 2018  路  3Comments  路  Source: HeidiSQL/HeidiSQL

Expected behavior

Index with comment is visible in "Indexes" tab.

Current behavior

Index with comment is not visible in "Indexes" tab.

Failure information

Indexes with comments are ignored by HeidiSQL. They are not visible in "Indexes" and "CREATE code" tab.

Steps to reproduce

  1. Create table:
CREATE TABLE `index_test` (
  `nr1` int,
  `nr2` int,
  KEY `hidden_index` (`nr1`) COMMENT 'some comment',
  KEY `visible_index` (`nr2`)
);
  1. Check if both indexes are created with SHOW CREATE TABLE index_test;:
CREATE TABLE `index_test` (
  `nr1` int(11) DEFAULT NULL,
  `nr2` int(11) DEFAULT NULL,
  KEY `hidden_index` (`nr1`) COMMENT 'some comment',
  KEY `visible_index` (`nr2`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
  1. Check "Indexes" tab:
    1

  2. Check "CREATE code" tab:
    2

Context

  • HeidiSQL version: 9.5.0.5196 (64 Bit)
  • Database system + version: MariaDB 10.1.11
  • Operating system: Windows 10
bug confirmed nettype-mysql

Most helpful comment

Possible solution: create a new column like Comment on Index manager tab.

All 3 comments

Confirmed

Possible solution: create a new column like Comment on Index manager tab.

encounter this issue too.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yz778 picture yz778  路  4Comments

cammudito picture cammudito  路  3Comments

chrysler5798 picture chrysler5798  路  5Comments

hkaraoglu picture hkaraoglu  路  3Comments

magnetik picture magnetik  路  4Comments