From 225dba02d7b04c7810207cdd842e313ec6e41001 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Tue, 28 Aug 2012 17:44:55 +0000 Subject: [PATCH] Assume user wants default length/set for columns of an existing table, until he enters some new value. Fixes issue #2942. --- source/dbconnection.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dbconnection.pas b/source/dbconnection.pas index 44654d98..efea5d91 100644 --- a/source/dbconnection.pas +++ b/source/dbconnection.pas @@ -3057,7 +3057,7 @@ begin Col.Name := DeQuoteIdent(rx.Match[1]); Col.OldName := Col.Name; Col.Status := esUntouched; - Col.LengthCustomized := True; + Col.LengthCustomized := False; // Datatype Col.DataType := GetDatatypeByName(UpperCase(rx.Match[2]));