mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-16 03:30:50 +08:00
Assume user wants default length/set for columns of an existing table, until he enters some new value. Fixes issue #2942.
This commit is contained in:
@ -3057,7 +3057,7 @@ begin
|
|||||||
Col.Name := DeQuoteIdent(rx.Match[1]);
|
Col.Name := DeQuoteIdent(rx.Match[1]);
|
||||||
Col.OldName := Col.Name;
|
Col.OldName := Col.Name;
|
||||||
Col.Status := esUntouched;
|
Col.Status := esUntouched;
|
||||||
Col.LengthCustomized := True;
|
Col.LengthCustomized := False;
|
||||||
|
|
||||||
// Datatype
|
// Datatype
|
||||||
Col.DataType := GetDatatypeByName(UpperCase(rx.Match[2]));
|
Col.DataType := GetDatatypeByName(UpperCase(rx.Match[2]));
|
||||||
|
Reference in New Issue
Block a user