mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix non working addition of new columns in MySQL. See http://www.heidisql.com/forum.php?t=16948
PostgreSQL: Detect all array style types as unknown type, e.g. TEXT[].
This commit is contained in:
@ -1190,7 +1190,7 @@ begin
|
||||
Col.Name := NewText;
|
||||
end;
|
||||
2: begin // Data type
|
||||
Col.DataType := DBObject.Connection.GetDatatypeByName(NewText, False);
|
||||
Col.DataType := DBObject.Connection.GetDatatypeByName(NewText, False, Col.Name);
|
||||
// Reset length/set for column types which don't support that
|
||||
if not Col.DataType.HasLength then
|
||||
Col.LengthSet := '';
|
||||
|
Reference in New Issue
Block a user