mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Fix undetected column collation, caused by non rewound collations list. See http://www.heidisql.com/forum.php?t=7893.
This commit is contained in:
@@ -2124,8 +2124,7 @@ begin
|
||||
Delete(ColSpec, 1, rxCol.MatchLen[0]);
|
||||
end;
|
||||
if Col.Collation = '' then begin
|
||||
if not Assigned(Collations) then
|
||||
Collations := CollationTable;
|
||||
Collations := CollationTable;
|
||||
if Assigned(Collations) then while not Collations.Eof do begin
|
||||
if (Collations.Col('Charset') = Col.Charset) and (Collations.Col('Default') = 'Yes') then begin
|
||||
Col.Collation := Collations.Col('Collation');
|
||||
|
||||
Reference in New Issue
Block a user