Issue #12: restore compatibility to MySQL pre-5.5 servers, which have no "Index_comment" column in IS.columns

This commit is contained in:
Ansgar Becker
2020-01-09 20:19:58 +01:00
parent b45a0d57c7
commit 16b81ab0f6

View File

@ -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'));