Skip to content
Permalink
Browse files

Issue #12: restore compatibility to MySQL pre-5.5 servers, which have…

… no "Index_comment" column in IS.columns
  • Loading branch information
ansgarbecker committed Jan 9, 2020
1 parent b45a0d5 commit 16b81ab0f64958ad89006b4c683586de9599f616
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/dbconnection.pas
@@ -4822,7 +4822,7 @@ function TMySQLConnection.GetTableKeys(Table: TDBObject): TTableKeyList;
// 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'));

0 comments on commit 16b81ab

Please sign in to comment.
You can’t perform that action at this time.