mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 03:01:07 +08:00
Issue #12: restore compatibility to MySQL pre-5.5 servers, which have no "Index_comment" column in IS.columns
This commit is contained in:
@ -4822,7 +4822,7 @@ begin
|
||||
// Todo: fulltext and spatial keys
|
||||
NewKey.OldIndexType := NewKey.IndexType;
|
||||
NewKey.Algorithm := KeyQuery.Col('Index_type');
|
||||
NewKey.Comment := KeyQuery.Col('Index_comment');
|
||||
NewKey.Comment := KeyQuery.Col('Index_comment', True);
|
||||
end;
|
||||
NewKey.Columns.Add(KeyQuery.Col('Column_name'));
|
||||
NewKey.SubParts.Add(KeyQuery.Col('Sub_part'));
|
||||
|
Reference in New Issue
Block a user