mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Table editor fails to detect the default collation on some tables. Fetch it from SHOW TABLE STATUS instead as fallback. See http://www.heidisql.com/forum.php?t=6202
This commit is contained in:
@ -284,6 +284,8 @@ begin
|
||||
end else begin
|
||||
// Editing existing table
|
||||
editName.Text := DBObject.Name;
|
||||
// Try collation from SHOW TABLE STATUS, sometimes missing in SHOW CREATE TABLE result
|
||||
comboCollation.ItemIndex := comboCollation.Items.IndexOf(DBObject.Collation);
|
||||
CreateTable := Mainform.SelectedTableCreateStatement;
|
||||
rx := TRegExpr.Create;
|
||||
rx.ModifierI := True;
|
||||
|
Reference in New Issue
Block a user