mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-31 09:50:22 +02:00
* removing a temporary workaround in the db testsuite and a minor cleanup
git-svn-id: trunk@19305 -
This commit is contained in:
parent
c1814c4328
commit
e36183cbc8
@ -1069,10 +1069,7 @@ end;
|
||||
function TStringField.GetDataSize: Integer;
|
||||
|
||||
begin
|
||||
if DataType=ftFixedChar then
|
||||
Result:=Size+1
|
||||
else
|
||||
Result:=Size+1;
|
||||
Result:=Size+1;
|
||||
end;
|
||||
|
||||
function TStringField.GetDefaultWidth: Longint;
|
||||
|
@ -2005,7 +2005,7 @@ var i : byte;
|
||||
Fld : TField;
|
||||
|
||||
begin
|
||||
TestfieldDefinition(ftFixedChar,10,ds,Fld);
|
||||
TestfieldDefinition(ftFixedChar,11,ds,Fld);
|
||||
for i := 0 to testValuesCount-1 do
|
||||
begin
|
||||
if Fld.IsNull then // If the field is null, .AsString always returns an empty, non-padded string
|
||||
|
Loading…
Reference in New Issue
Block a user